vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   members can edit subject showed on threads list (https://vborg.vbsupport.ru/showthread.php?t=52734)

Corbu 05-09-2003 06:29 AM

members can edit subject showed on threads list
 
1 Attachment(s)
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

PHP Code:

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

PHP Code:

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:
PHP Code:

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:
PHP Code:

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

Quote:

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.

[high]* Xenon is kicking grog ;)[/high]

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


All times are GMT. The time now is 02:16 AM.

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.01117 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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