PDA

View Full Version : Thread Starter is Moderator for Thread


Neo
03-12-2002, 10:00 PM
Another request filled
Link: https://vborg.vbsupport.ru/showthread.php?s=&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
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
01-27-03 at 09:19 AM geniuscrew said this in Post #14 (https://vborg.vbsupport.ru/showthread.php?postid=346940#post346940)
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