vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   hide buttons (forum permissions) (https://vborg.vbsupport.ru/showthread.php?t=43687)

ProgS 09-18-2002 10:28 AM

hide buttons (forum permissions)
 
okay here is my prob:

I want to hide buttons/links, but not for usergroups but for forum-permissions!

for example if it is not allowed to reply in one forum than the reply-button is not visible...

------------------------------------------------------------
my second prob is that the variables which I define in phpinclude-template are not available in other templates... (for exemple in postbit-template) I think I have tried all, I used scripts of others who sayed it works so...

thanks a lot!!!
I hope somebody can help me!!!!!!

(sorry for my english ;) )

Xenon 09-18-2002 11:44 AM

you cannot do this by normal template changes, you have to hack..

a hack which would be the helpfullest i think:
https://vborg.vbsupport.ru/showthrea...threadid=43325

ProgS 09-18-2002 11:54 AM

Quote:

Originally posted by Xenon
you cannot do this by normal template changes, you have to hack..

okay... thank you!!! :(
I think thats not good solved in vbulletin!!!!
In some open-source forums like phpboard is it includet, that the grafik is only to see if the permissions are allowed it!!!

I cant hack the php-files because the customer want the update-abbility!!!

---anyway: thxxx for answering!!!

Xenon 09-18-2002 12:03 PM

vb3 will allow conditionals in templates

ProgS 09-18-2002 12:09 PM

Quote:

Originally posted by Xenon
vb3 will allow conditionals in templates
yeah... I know... ;)

but it doesn't help me!!! :(
the customer wants to have the customized product now not in 2 month or so....

I have to find solutions for this version (2.2.7)...

but I think I will fiend an other reason (I hope ;) )!

Xenon 09-18-2002 02:49 PM

hmm, the customer has to decide weather he wants that feature and let you hack the files or don't let you hack and don't get the feature ;)

ProgS 09-18-2002 02:57 PM

Quote:

Originally posted by Xenon
hmm, the customer has to decide weather he wants that feature and let you hack the files or don't let you hack and don't get the feature ;)
you are quiet good!!! :D

at first I have made an concept, where the feature is includet!!! ;)
so, I have to make this!
(only in the templates!!!)...
at the time, where I choose vbulletin, I thought it is standard that the buttons are only to see if you have the permissions!


All times are GMT. The time now is 10:06 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.01122 seconds
  • Memory Usage 1,724KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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