vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Thread Starter is Moderator for Thread (https://vborg.vbsupport.ru/showthread.php?t=36067)

Neo 03-12-2002 10:00 PM

Thread Starter is Moderator for Thread
 
Another request filled
Link: https://vborg.vbsupport.ru/showthrea...threadid=36047

What the title says it what it does, accept thread starters cannot merge,split, or stick/unstick their threads. This is a big hack on the open/close thread has a little cache error on some browsers and WinOSs

Enjoy.


Updated.

Freddie Bingham 03-12-2002 11:04 PM

You should use this instead

if ($threadinfo['postuserid']!=$bbuserinfo['userid']) {

Neo 03-12-2002 11:06 PM

Thats what I thought, but I was to lazy to change it.

Remi 03-12-2002 11:31 PM

Thanks neo :)

Kumaro 03-13-2002 12:21 AM

This hack is just missing one thing! I've been looking for a hack exactly like this, except I want to apply it only to a particular forum. That would be nice....if you could choose which forum to apply this feature to.

Neo 03-13-2002 01:49 AM

Hmm.... I hav tryed to do that... but with no luck... there is something very odd ... you would think something like

if ($threadinfo['postuserid']!=$bbuserinfo['userid'] && $threadinfo['forumid']!=XX) {

would work.... but it doesnt

Vivi Ornitier 03-13-2002 02:11 AM

########## End Edit in postings.php ##########
/////\\\\\
##### find in showthread.php #####

### and replace with ###

if (ismoderator($forumid)) {

In this step . . . what do i find again? It's just blank, . . .

Neo 03-13-2002 03:07 AM

Ok... fixed.

Vivi Ornitier 03-13-2002 03:27 AM

??? it's not fixed. There's still nothign on that line wher ei find the thing. what do i find?

MrLister 03-13-2002 04:05 AM

this hack maybe gives too much power because if somebody disagrees with the post the thread starter will just delete itm change it or make that user look bad,

Neo 03-13-2002 04:23 AM

Vivi Ornitier : Get the new file

MrLister: As a request, I just file what looks interesting. I already know that it gives the users to much power. But some people would like to have it on their forums. :)

Kumaro 03-13-2002 01:04 PM

Quote:

Originally posted by neo
Vivi Ornitier : Get the new file

MrLister: As a request, I just file what looks interesting. I already know that it gives the users to much power. But some people would like to have it on their forums. :)

yeah, like me! If anybody knows how to modify this hack so that you can apply it to only a particular forum, then post how in here, or tell neo please! It would make this hack much much better.

Vivi Ornitier 03-13-2002 10:41 PM

########## End Edit in postings.php ##########
/////\\\\\
##### find in showthread.php #####

### and replace with ###

if (ismoderator($forumid)) {
eval("\$adminoptions = \"".gettemplate("showthread_adminoptions")."\"; ");
} elseif ($thread['postusername']==$bbuserinfo[username]) {
eval("\$adminoptions = \"".gettemplate("showthread_starteroptions")."\";" );
} else {
$adminoptions = " ";
}

##########
\\\\\/////

i still see just this, where's the find?

geniuscrew 01-27-2003 12:19 PM

I agree in certain forums would be amazing - nice hack neo nonetheless but can't install it if it applies to all forums ;) :p

Koutaru 06-09-2003 07:19 PM

Quote:

01-27-03 at 09:19 AM geniuscrew said this in Post #14
I agree in certain forums would be amazing - nice hack neo nonetheless but can't install it if it applies to all forums ;) :p

Anyone have an idea for this? :o


All times are GMT. The time now is 01:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01016 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete