![]() |
|
|||||||
|
![]() ![]() |
|
Please do NOT associate the content of this forum with me. Thank you.
Mar 2009
Posts: 558
|
Wonder why nobody uses the Social Groups function which acts as custom forums.
|
![]() ![]() |
|
options['contactuslink']))); } if (!$threadinfo['threadid'] OR $threadinfo['isdeleted'] OR (!$threadinfo['visible'] AND !can_moderate($threadinfo['forumid'], 'canmoderateposts'))) { eval(standard_error(fetch_error('invalidid', $vbphrase['thread'], $vbulletin->options['contactuslink']))); } if ($vbulletin->options['wordwrap']) { $threadinfo['title'] = fetch_word_wrapped_string($threadinfo['title']); } // get permissions info $_permsgetter_ = 'edit post'; $forumperms = fetch_permissions($threadinfo['forumid']); if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads']) OR (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND ($threadinfo['postuserid'] != $vbulletin->userinfo['userid'] OR $vbulletin->userinfo['userid'] == 0))) { print_no_permission(); } $foruminfo = fetch_foruminfo($threadinfo['forumid'], false); // check if there is a forum password and if so, ensure the user has it set verify_forum_password($foruminfo['forumid'], $foruminfo['password']); // need to get last post-type information cache_ordered_forums(1); // determine if we are allowed to be updating the thread's info $can_update_thread = ( $threadinfo['firstpostid'] == $postinfo['postid'] AND (can_moderate($threadinfo['forumid'], 'caneditthreads') OR ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW ) ); // ############################### start permissions checking ############################### if ($_REQUEST['do'] == 'deletepost') { // is post being deleted? if so check delete specific permissions if (!can_moderate($threadinfo['forumid'], 'candeleteposts')) { if (!$threadinfo['open']) { $vbulletin->url = fetch_seo_url('thread', $threadinfo); eval(print_standard_redirect('redirect_threadclosed')); } if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['candeletepost'])) { print_no_permission(); } else { if ($vbulletin->userinfo['userid'] != $postinfo['userid']) { // check user owns this post since they failed the Mod Delete permission check for this forum print_no_permission(); } } } } else { // otherwise, post is being edited if (!can_moderate($threadinfo['forumid'], 'caneditposts')) { // check for moderator if (!$threadinfo
Aug 2009
Posts: 10
|
Because they suck tbh. When I have time I'll code proper custom forums.
|
![]() ![]() |
|
Deutsch Möderätör
Dec 2009
Posts: 15
|
Because custom forums without all the group stuff around it are better i guess.
|
![]() ![]() |
|
poop
Jun 2009
Posts: 1,041
|
Nice title
|
![]() ![]() |
|
poop
Jun 2009
Posts: 1,041
|
Wait who the fuck
|
![]() ![]() |
|
Jun 2009
Posts: 927
|
Yeah you're late on the "Cool Title Bro" thing
|
![]() ![]() |
|
Jun 2009
Posts: 927
|
Shit you were part of it
|
![]() ![]() |
|
Please do NOT associate the content of this forum with me. Thank you.
Mar 2009
Posts: 558
|
I know, but it's not like they're so bad they're unusable.
|
![]() ![]() |
|
Apr 2010
Posts: 46
|
I have done so.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |