vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Navbar Forum Jump (https://vborg.vbsupport.ru/showthread.php?t=118417)

ericgtr 11-01-2006 06:03 PM

Quote:

Originally Posted by johnstires
See this hack:

https://vborg.vbsupport.ru/showthrea...ghlight=usercp

You'll have to configure the phrasing to work for Forums and manually add your forums, but it will work just the same as the site you referenced.

That is actually not even close to the mod over at digital point. Have a look at the video, you can tell that the forum list is dynamic and it allows for an ajax drag and drop to move threads around. It's safe to assume there is some complex coding in the background.

johnstires 11-02-2006 12:16 AM

Quote:

Originally Posted by ericgtr
That is actually not even close to the mod over at digital point. Have a look at the video, you can tell that the forum list is dynamic and it allows for an ajax drag and drop to move threads around. It's safe to assume there is some complex coding in the background.

I thought the original question was about the forumjump in the navbar, not the video, which shows moderation not navigation.

I agree, what I posted is nothing like the video. But isn't the forum jump menu in the navbar just a glorified template of the the hack I posted?

ericgtr 11-02-2006 12:34 AM

Quote:

Originally Posted by johnstires
I thought the original question was about the forumjump in the navbar, not the video, which shows moderation not navigation.

I agree, what I posted is nothing like the video. But isn't the forum jump menu in the navbar just a glorified template of the the hack I posted?

Well, it can be if you manually add everything but a dynamic solution would be a much better alternative IMO. That way anytime a forum is added or removed there wouldn't be a template edit.

johnstires 11-02-2006 02:36 AM

A dynamic hack like this would be awesome. I'm doing in manually right now cuz my boards not too heavily forumed. Plus once it's set up it's not all that difficult to change. I'm diggin' it. I love it when I stumble upon a cool, useful change.:D

ericgtr 11-02-2006 03:10 AM

This is an interesting mod, I may take a stab at it minus the ajax drag and drop though. ;)

ericgtr 11-02-2006 06:07 PM

I set one up manually at my site.. took a while and it's tedious but it works. If anyone wants the code (all template) I will post it up but you will have to manually edit in all of your links. Preview is in my sig on my guitarblast site.

ForumDog 11-02-2006 06:34 PM

The drag-n-drop stuff is actually a good deal simpler than it might appear, I considered doing something similar myself but knocked it on the head given that all the extra work and bloat wouldn't really offer a great deal over what is already a system that works fine. In fact apart from to a couple of moderators it wouldn't add anything at all. Not worth it to me.

The forumjump is very nice though :) much better than the default if you have a lot of forums.

johnstires 11-02-2006 11:11 PM

I am not a coder at all, but I was wondering how this could be done dynamically.

I pasted $forumbits into the popup menu table and my entire forum showed up in the forum jump. Cool but a little too much info...

How would I go about just showing the title of the forum? $forumbits is calling the forumhome_forumbit_level1_post template which contains the code:

Code:

<td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
               

               
                </td>

If I paste just this code into my template I get only one random forum dynamically created.

Anyone know how to have them all? Or does it require some sort of php modification? Is there a way to change $forumbits to $forumbits_navbar and then have that call some other peice of code?

Bear with me, I have no clue what I'm doing...:confused:

Darat 11-24-2006 06:16 PM

Quote:

Originally Posted by ericgtr (Post 1109536)
I set one up manually at my site.. took a while and it's tedious but it works. If anyone wants the code (all template) I will post it up but you will have to manually edit in all of your links. Preview is in my sig on my guitarblast site.

I'd certainly like it, please!

heynurse 12-02-2006 04:26 AM

that video with the drag/drop is very cool :) I love seeing more web 2.0 functionality blended with vb


All times are GMT. The time now is 03:19 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.01031 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (4)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