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)
-   -   Custom Quick Links (https://vborg.vbsupport.ru/showthread.php?t=77715)

freakyshiat 03-30-2005 07:02 AM

how can I use conditionals to let specific usergroups access the quick links? I dont want to do it at the navbar level (people can manually type in the direct link), I would like profile.php to check if the user belongs to usegroupid 3 and 4 (for example) and only let those groups update or add the quick links...thank you for any help.

Gastongr 04-24-2005 04:20 PM

I installed it on www.webmastershelp.com and it works great! Thanks :).

zetetic 04-30-2005 03:22 AM

Excellent hack, Soup. :)

zetetic 04-30-2005 03:33 AM

Incidentally, you should cache the templates.

In profile.php, find:

PHP Code:

'removelist' => array(
        
'modifylist_removeuser',
    ), 

and replace with:

PHP Code:

'removelist' => array(
        
'modifylist_removeuser',
    ),
    
'editquicklinks' => array(
        
'usercp_quicklinks',
        
'usercp_quicklinks_exist',
    ), 


Samira 05-06-2005 03:21 AM

Okay, I'm sure I'm missing something simple and I'll feel silly, but I'm begging for some help here (insert *impish grin* smilie here). :cheeky:

I have this working on my forums and my members love it. However, I've just recently installed the Additional Navbar hack and for the life of me, I can NOT get this to work there. The $customquicklinks just will not show. I have the $navbar2 value in the navbar template, so I don't think the modification listed above will be helpful.

Suggestions are very welcome, I've lost some hair over this one. :nervous:

Samira 05-16-2005 06:04 PM

No one?

commTRU 08-10-2005 02:03 PM

This is a very nice hack and works fine :)

Just out of interest though, will there be an add-on in the future to allow it to work on the vBAdvanced CMPS page? It doesn't appear on any page that isn't within the /forum directory although it is fine everywhere else.. Maybe there is quick and easy way to adjust this? ^^;;

yoyoyoyo 08-20-2005 03:45 PM

installed easily in 3.0.8 - thanks for sharing!

yoyoyoyo 11-22-2006 10:59 PM

any chance for a 3.5.X update to this?


All times are GMT. The time now is 06:14 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.01171 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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