vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Thread Category / Prefix Hack (https://vborg.vbsupport.ru/showthread.php?t=61494)

draven 02-14-2004 06:21 PM

Excellent hack. I only have one little problem. The moderators can't manage categories in their own forums. Is it because my usergroup ids isn't standard?

Logikos 02-14-2004 07:21 PM

Thanks for that fast fix!

gmarik 02-14-2004 07:54 PM

So this is the third hack of this kind. Maybe we should propose to add it to the Gold edition by default?

Mystics 02-14-2004 09:41 PM

Quote:

Originally Posted by draven
The moderators can't manage categories in their own forums. Is it because my usergroup ids isn't standard?

No, that is no problem. I have tested it with all kinds of users...admin, mod, supermod, mod of a forum with a new usergroup....all worked fine.

I'm just using the standard function:
Code:

can_moderate($forumid, '')
Do they have no access to threadcatgory.php or are they just not able to see the link 'Manage Categories' within the Forum-Tools? Does it work for you?

Logikos 02-14-2004 10:25 PM

Okay i want to know if you could help me make it only so mods and Admids can see the catogory drop down box in the new thread, edit thread ect...

not sure if i could do somthing like this.
HTML Code:

<if condition="$bbuserinfo[usergroupid] == 6,5">code here</if>
or maybe
HTML Code:

<if condition="$bbuserinfo[usergroupid] == 6">code here
<if condition="$bbuserinfo[usergroupid] == 5">code here</if>
<else />
code here
</if>
</if>

Any ideas?

Mystics 02-14-2004 11:40 PM

Quote:

Originally Posted by []\[]emesis
Okay i want to know if you could help me make it only so mods and Admids can see the catogory drop down box in the new thread, edit thread ect...

Code:

<if condition="$bbuserinfo['usergroupid'] == 6 OR $bbuserinfo['usergroupid'] == 5">code here</if>
Don't forget to disable "Thread Category Required".

Logikos 02-15-2004 12:06 AM

Thanks! I didn't think we could use OR in the conditions, now i know ::sneaky:: ::sneaky:: :p

The Watcher 02-18-2004 07:49 PM

Does this work on vb3 RC2 ??? Because I tried to install it and the very first line to find in the file edits is not even present in my editpost.php :(

draven 02-19-2004 01:47 PM

Quote:

Originally Posted by Mystics
No, that is no problem. I have tested it with all kinds of users...admin, mod, supermod, mod of a forum with a new usergroup....all worked fine.

I'm just using the standard function:
Code:

can_moderate($forumid, '')
Do they have no access to threadcatgory.php or are they just not able to see the link 'Manage Categories' within the Forum-Tools? Does it work for you?

The link dosn't appear in Forum-Tools.

Logikos 02-19-2004 01:57 PM

Quote:

Originally Posted by draven
The link dosn't appear in Forum-Tools.

If installed correctly, you will need to go to the admin cp and turn it on for the forum you want the catogory hack to appear.

Quote:

Originally Posted by The Watcher
Does this work on vb3 RC2 ??? Because I tried to install it and the very first line to find in the file edits is not even present in my editpost.php :(

I think this is for rc3 +


All times are GMT. The time now is 04:49 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.01225 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete