vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Add New Popup Link (https://vborg.vbsupport.ru/showthread.php?t=88468)

Preds 03-29-2004 12:46 AM

Thank you very much! Trying to add my own popup menu has been driving me crazy!

Logikos 03-29-2004 04:26 AM

Quote:

Originally Posted by Preds
Thank you very much! Trying to add my own popup menu has been driving me crazy!

No problem :) Glad you can find it usefull

RGSerge 03-29-2004 09:04 PM

Great stuff, works wonderfully.

However I got stumped when I tried something.

I have integrated my site and forum, I also have a content management system. Now, if I want to create a header or a single drop down anywhere on any pages of my site, including my content management system I can :)

However, take the actual problem for instance.

I have a list of content pages in the CMS, the PHP queries the DB, loops through the list parsing a table row template via vbulletin's template engine.

In this row I want a drop down menu with a set of options for that page (i.e. edit, delete, move etc.).

When I try and do this is all goes wrong.

I have tried it using your method, appending the contentid to the end handles, so there is a unique drop down for each content instance, but it doesn't work :(

Its very similar to how the postbit works, I even tried using the template logic for that (which is slightly different) again to no avail :(

Any ideas how to do this one?

good2laugh 04-25-2004 06:47 AM

Hey this is FANTASTIC - thank you.

I'm code stupid but managed this :) - I guess it's possible to add more categories too? I presume just by adding a TR td class cat name and tr td class vbmenu ?

Logikos 04-25-2004 09:51 AM

Quote:

Originally Posted by good2laugh
Hey this is FANTASTIC - thank you.

I'm code stupid but managed this :) - I guess it's possible to add more categories too? I presume just by adding a TR td class cat name and tr td class vbmenu ?

correct

good2laugh 04-25-2004 05:36 PM

Quote:

Originally Posted by []\[]emesis
correct

cheers mate. :)

imported_martinh4 05-03-2004 06:35 PM

Just what i needed, my navbar was getting a bit crowded. :)

Logikos 05-03-2004 09:09 PM

Glad i could help! :)

imported_Ashkarita 05-04-2004 09:45 PM

Thanks! I haven't installed it yet but I'm working on some rules pages and links that this will be PERFECT for. Thanks!

*clicks install*

Let me ask you a question though.

In that same template, would there be a way for me to take the current FAQ area of the navbar and make it one of the choices for the drop down links?

ryancooper 05-20-2004 11:02 PM

Just what i was looking for. . .. tHansk


All times are GMT. The time now is 12:44 PM.

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.00979 seconds
  • Memory Usage 1,733KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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