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)

siraxi 06-12-2006 09:05 PM

Navbar Forum Jump
 
Hi

I love the forum jump as set on DigitalPoint Forums. Does anyone have the code for it or could figure out a hack?

Thanks!

bashy 06-12-2006 09:09 PM

wow...im liking this also, would love to add this to my clutter, does anyone know of the coding for this please....

siraxi 06-12-2006 10:22 PM

This thread explains that it's not javascript but something internal.

This thread explains it's DHTML.

Here, it says:
Quote:

It's actually a rather complex plug-in that does some preg_replace() stuff. And then to make it even more tricky, moderators can AJAX drag-and-drop threads onto it to move them with one step.

Ramsesx 06-12-2006 10:35 PM

On this video it's looking very cool, think they have stolen the secret vb 5 alpha version. :rolleyes:

WritersBeat 10-06-2006 02:25 AM

Sorry to bump - but is there any way to... do this? Haha. Maybe not the advanced ajax but... a mod that is similar?

Zachery 10-06-2006 03:16 AM

Looks like its a manual template edit honestly.

Adrian Schneider 10-06-2006 03:42 AM

The navbar part would be easy... just some basic PHP / HTML with the forumcache (no extra queries either)... but the moderation part would take some work.

While I like it, I don't think I would want all that extra HTML being on every page.

siraxi 10-25-2006 01:06 PM

Thanks for the replies.

I managed to find a mod for this and applied it with success on my forum.

ericgtr 10-25-2006 01:25 PM

Quote:

Originally Posted by Ramsesx
On this video it's looking very cool, think they have stolen the secret vb 5 alpha version. :rolleyes:

That has to be one of the slickest mods I've seen for vb yet.

johnstires 11-01-2006 05:15 PM

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.

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

imported_infitech 12-02-2006 09:52 PM

Quote:

Originally Posted by johnstires (Post 1109081)
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?

im with you.
is anyone working on making this a mod we can download on vb.org?

category 12-03-2006 03:56 AM

hey eric did you post the template edits?

imported_infitech 12-03-2006 05:18 AM

Quote:

Originally Posted by category (Post 1130497)
hey eric did you post the template edits?

what template edits?
am i missing something?
did someone start writing this mod already?

wtrk 12-03-2006 12:15 PM

1 Attachment(s)
i have a plugin i had made that makes a directory of all your forums on one page (without descriptions) by category. i bet if you took the code from that and stuck it into a popup it would look very similar. attached is a screen shot of what it looks like.

Darat 12-03-2006 12:17 PM

Quote:

Originally Posted by wtrk (Post 1130717)
i have a plugin i had made that makes a directory of all your forums on one page (without descriptions) by category. i bet if you took the code from that and stuck it into a popup it would look very similar.

That plugin sounds interesting in its own right - have you uploaded it here?

wtrk 12-03-2006 12:18 PM

Quote:

Originally Posted by Darat (Post 1130719)
That plugin sounds interesting in its own right - have you uploaded it here?

i dont remember. it might have been released by the developer it might not have been. its been awhile.

sunnycher 12-03-2006 03:59 PM

Where did you find it?


Thanks!

Quote:

Originally Posted by siraxi (Post 1104110)
Thanks for the replies.

I managed to find a mod for this and applied it with success on my forum.


imported_infitech 12-03-2006 07:21 PM

Quote:

Originally Posted by sunnycher (Post 1130921)
Where did you find it?


Thanks!

I think he found it here. https://vborg.vbsupport.ru/showthread.php?t=62493

Why is this thread so damn secretive.
I thought the whole point of this forum in the first place was to help one another.

davidw 12-03-2006 10:50 PM

That looks easy enough to do - I might set myself up for that as well. :) - I've already got something like that on my site - this would be a great addon to compliment that :)

category 12-04-2006 12:44 AM

so anyone gonna release it soon?

davidw 12-04-2006 01:05 AM

If eric doesn't object, I'll release something this week - I've already got something created on my site in the past couple hours. :) No links work yet, but the structure is there. :P

You can see my version at my site (the one in my sig). I like his too (much leaner than mine).

sunnycher 12-04-2006 01:21 AM

I love yours! Very neat looking!
I'd love for you to do one LOL!!
Love your site too btw :)



Quote:

Originally Posted by christianb (Post 1131317)
If eric doesn't object, I'll release something this week - I've already got something created on my site in the past couple hours. :) No links work yet, but the structure is there. :P

You can see my version at my site (the one in my sig). I like his too (much leaner than mine).


imported_infitech 12-05-2006 09:48 AM

Quote:

Originally Posted by ericgtr (Post 1109149)
This is an interesting mod, I may take a stab at it minus the ajax drag and drop though. ;)

u are my hero

Quote:

Originally Posted by christianb (Post 1131317)
If eric doesn't object, I'll release something this week - I've already got something created on my site in the past couple hours. :) No links work yet, but the structure is there. :P

You can see my version at my site (the one in my sig). I like his too (much leaner than mine).

I dont see it in the sig

Quote:

Originally Posted by sunnycher (Post 1131326)
I love yours! Very neat looking!
I'd love for you to do one LOL!!
Love your site too btw :)

Where did you find it?

sunnycher 12-05-2006 09:55 AM

Go to his website in his signature, http://www.christianboards.org/, click on Forum Jump that is in his nav bar to the right.






Quote:

Originally Posted by imported_infitech (Post 1132314)
Where did you find it?


Darat 12-05-2006 11:10 AM

1 Attachment(s)
My version so far:

ericgtr 12-05-2006 02:00 PM

Quote:

Originally Posted by christianb (Post 1131317)
If eric doesn't object, I'll release something this week - I've already got something created on my site in the past couple hours. :) No links work yet, but the structure is there. :P

You can see my version at my site (the one in my sig). I like his too (much leaner than mine).

No objections here, I think the more ideas the better :) Mine is at my guitar site in my sig. So far the only difference is that mine spans across the top instead of one line. For example, I have 7 categories and the most forums I have in any cat is also 7 (just happened to work out that way) and added conditions for the officers forums so I could also add them. So I simply made a table 7 columns by 7 rows, then manually added the forums and utitlized the classes. All in all it's pretty easy, just takes some tedious work.

davidw 12-05-2006 03:27 PM

I've released my version:
https://vborg.vbsupport.ru/showthread.php?t=133277

ericgtr 12-05-2006 05:12 PM

Quote:

Originally Posted by christianb (Post 1132488)

Nicely done. :)

Darat 12-05-2006 06:22 PM

1 Attachment(s)
I've done this slightly differently to christianb's, I started by looking at the code from ericgtr's forum and then I adapted it. I wanted a layout that was as compact as possible so I've used a small font and fixed columns.

Place this wherever you want the menu to appear in the standard navbar links section:
Code:

<td id="forumindex" class="vbmenu_control_navbar"><a href="/?nojs=1#forumjump">Forum Index</a><script type="text/javascript">        vbmenu_register("forumindex");</script></td>
and this is my menu code, added just below: <!-- NAVBAR POPUP MENUS -->

It should be easy to understand and edit for your own uses.

I've in fact moved it into a custom template so it's easier to manage and I just call that template in the navbar template now. I'm also going through and tidying it up a bit more - creating a couple of new styles in the CSS and so on.

Code:

<div class="vbmenu_popup" id="forumindex_menu" style="display:none; position:absolute; padding: 0px;">

<table cellpadding="1" cellspacing="1" border="0"  STYLE="table-layout:fixed; " WIDTH=600>
<COL WIDTH=120><COL WIDTH=120><COL WIDTH=120><COL WIDTH=120><COL WIDTH=120>
    <tr>
        <td class="tcat" colspan="5"><div align='center'>JREF Forum Site Guide</div></td>
    </tr>
  <tr>
    <td class="thead">Useful Links</td>
    <td class="thead"><a href="http://forums.randi.org/forumdisplay.php?f=11">JREF Topics</a></td>
    <td class="thead"><a href="http://forums.randi.org/forumdisplay.php?f=12">General Academics</a></td>
    <td class="thead"><a href="http://forums.randi.org/forumdisplay.php?f=20">Entertainment</a></td>
    <td class="thead"><a href="http://forums.randi.org/forumdisplay.php?f=34">Forum Topics</a></td>
  </tr>
  <tr>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/">Forum Home Page</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=68">The Repository</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=5" title="Science, Mathematics, Medicine, and Technology">Science, Mathematics, Medicine, and Technology</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=26">Forum Community</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=30">Forum Rules</a></td>
  </tr>

  <tr>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumindex.php">Forum Index</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;"><a href="http://forums.randi.org/forumdisplay.php?f=55">Forum Spotlight</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=23">Computers & The Internet</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=22">Conjuror's Corner</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" title="nohilite" >&nbsp;</td>
  </tr>
  <tr>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/local_links.php">Links Manager</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=8" title="Million Dollar Challenge">$1M Dollar Challenge</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="/forumdisplay.php?f=4" title="Religion and Philosophy">Religion and Philosophy</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=28">Humor</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" title="_nohilite" >&nbsp;</td>
  </tr>
  <tr>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/vbimghost.php?do=myimages">vBImage Host</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=3">Latest Commentary Issues</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="/forumdisplay.php?f=9" title="History, Literature, and the Arts">History, Literature, and the Arts</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=21">Movies, TV, Music, Computer Gaming, and other Entertainment</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" title="nohilite">&nbsp;</td>
  </tr>
  <tr>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" >&nbsp;</td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=10">The Amaz!ng Meeting! and other Skeptical Events </a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="/forumdisplay.php?f=6" title="Politics, Current Events, and Social Issues">Politics, Current Events, and Social Issues</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=27">Puzzles</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" title="nohilite">&nbsp;</td>
  </tr>
  <tr>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" title="nohilite">&nbsp;</td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;"><a href="http://forums.randi.org/forumdisplay.php?f=7">General Skepticism and The Paranormal</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" title="nohilite">&nbsp;</td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=24" title="Sport">Sport</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" title="nohilite">&nbsp;</td>
  </tr>
  <tr>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" title="nohilite">&nbsp;</td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;"><a href="http://forums.randi.org/forumdisplay.php?f=64">Conspiracy Theories</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" title="nohilite">&nbsp;</td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" ><a href="http://forums.randi.org/forumdisplay.php?f=13" title="Friendly Fire: Feudin Fussin and Fightin. (Either or both) - Master Flamer Tricky">Flame War</a></td>
    <td class="vbmenu_option" style="white-space: normal; font-size:x-small;" title="nohilite">&nbsp;</td>
  </tr>
</table>
</div>
        <!-- End Forum Index -->


imported_infitech 12-05-2006 09:46 PM

1 Attachment(s)
has anyone seen the deviantart categories.
THAT..... would be quite amazing for VBulletin.


All times are GMT. The time now is 05:52 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.01508 seconds
  • Memory Usage 1,871KB
  • 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
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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