View Full Version : members can edit subject showed on threads list
Corbu
05-09-2003, 06:29 AM
hello,
I want to know how to give permission by members (usergroup) to edit the subject of the message showed in the showthread list?
I requiere hacking as well
See the screen to understand more
Thanks
JohnK
06-13-2003, 11:29 AM
Hmm, no answers!
I am looking for a way to do this too -- it seems to be the only option that I *can't* give users via permissions.
Any ideas?
Thanks
John
grog6
06-13-2003, 11:40 AM
.................................................. ..............................
Areuhmm, vont m'engueuler pcq je parle en french je le sens
Dans ton fichier showthread.php, tu as ca
if (ismoderator($thread['forumid']) or $getperms['canopenclose'] or $getperms['candeletethread'] or $getperms['canmove']) {
eval("\$adminoptions = \"".gettemplate("showthread_adminoptions")."\";");
} else {
$adminoptions = " ";
Tu as juste a ajouter tes conditions dans le if, soit
or bbuserinfo[usergroupid] == 'xx' .......
Vala Mr Corbu ... :p
Boofo
06-13-2003, 11:59 AM
Now, Bastien, what does all that mean in English? ;)
Xenon
06-13-2003, 12:01 PM
translation for bob
hmm should i tranlsate it into german? ^^
open file showthread.php and you'll find that:
if (ismoderator($thread['forumid']) or $getperms['canopenclose'] or $getperms['candeletethread'] or $getperms['canmove']) {
eval("\$adminoptions = \"".gettemplate("showthread_adminoptions")."\";");
} else {
$adminoptions = " ";
then add at the end of the if conditions this:
or bbuserinfo[usergroupid] == 'xx' .......
grog6
06-13-2003, 12:10 PM
Hurm ... I've answered in French coz I know Corbu ... ;) I know he is french ;)
@ Boofo : The "......................" is a list of symbolic points, I think Corbu will understand why :p
For the rest, Xenon has well translated it ^^ excepting for the 2nd sentence which is
Hurm .... I'll be kick because I speak in french ... I'm sure of it :p
lol
Xenon
06-13-2003, 12:39 PM
hehe i know a bit french, but i just translated the needed parts.
* Xenon is kicking grog ;)
Boofo
06-13-2003, 02:18 PM
Thanks, Stefan and Bastien. I got the jist of it before I wrote the message. I just wanted to make sure I was on the right track with the translation. ;)
And Stefan, you could have translated it into german and I would not have understood that any better than i did the french version. And I took french in high school. Too many years ago, I guess. ;)
Xenon
06-13-2003, 04:14 PM
hehe i learnt french in school 7 year, and know nearly nothing now...
JohnK
06-18-2003, 04:21 PM
Thanks for the code, but I'm not sure what it actually does :paranoid:
Thinking about it, what I really want is for the thread title to be updated if the title of the first post is changed. Any ideas?
Thanks
John
Xenon
06-18-2003, 10:41 PM
that's standart in vb, just there is a timelimit you have to set up in your vb options
JohnK
06-19-2003, 08:48 AM
The problem with that is that there doesn't appear to be a setting to allow unlimited time (0 in this field stops the title being changed at all).
Any ideas?
I would ideally like to only apply this to one forum, but I could live with it working across the board.
Thanks
John
Xenon
06-19-2003, 06:51 PM
just enter a very high value, for example the timelimit on vborg is 3 months, if you make it 1 year or more it's nearly unlimited :)
JohnK
06-19-2003, 08:38 PM
Hmm, the brute force approach ;)
I'll give it a go. Thanks!
John
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.