vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Home Enhancements - [AJAX] Tabbed Forum Home (https://vborg.vbsupport.ru/showthread.php?t=175687)

King Kovifor 10-23-2008 10:36 PM

Quote:

Originally Posted by ArnyVee (Post 1651400)
Keep 'em comin'! :D

It appears that the spoiler box has been glued shut. I can't get any more spoilers to come out! :eek: :p

ShawneyJ 10-23-2008 11:25 PM

wow nice mod indeed ;)

one thing that is annoying is viewing the "whos online list" and see members viewing "forum home", and when you click the link it brings you to tabforumhome.php page, and its a complete mess lol.

will this be fixed or?

King Kovifor 10-24-2008 01:06 AM

I'm not sure what your saying Jaycob. Maybe Bob will understand, but could you explain more?

it-adrianus 10-24-2008 02:08 AM

I don't think that Ajax version could be SEO friendly, as in home source code doesn't appear the main forum index structure.
Non-ajax is absolutely SEO friendly, but not Ajax version.

Doom Stone 10-24-2008 08:02 AM

Quote:

Originally Posted by jaycob (Post 1651465)
wow nice mod indeed ;)

one thing that is annoying is viewing the "whos online list" and see members viewing "forum home", and when you click the link it brings you to tabforumhome.php page, and its a complete mess lol.

will this be fixed or?

You have to change the path of the link to your actual forum home page, such as index.php, I'm afraid I can't quite remember where that was and I don't have time to check at the moment, only on for a quick sec, sorry.

touba 10-24-2008 10:38 PM

hi !

very nice MOD, installed ! can't wait v2.0

a small issue from my part : variable 'users browing forums' doesn't appears anymore through forumhome...

any idea what i did wrong ?

thx

edit: sorry, this issue is already posted... i have to wait next version...

Digital Jedi 10-25-2008 08:17 AM

I don't think this has been asked before, but it's crossed my mind a couple of times and I figure, why not. I notice I can pull pretty much any page into the AJAX version of the tabs. Say, for example, I put downloads.php as one of the tab links, it loads it just fine.

Now, the only problem with that is that since downloads.php uses templates and calls the navbar and header, you get duplicates. That's easily enough fixed by simply removing the $header and $navbar variables from the template. Only problem now, is when people visit a do= page of downloads.php, or any page that uses that same template, it loads a new page with no header and template.

So going the long way around to get to the question, is there an if conditional I could use to hide the navbar and header when loaded via AJAX only?

touba 10-25-2008 08:21 AM

Hi Jedi,

Why not doing as for forum_home by creating a new template resuming the code of download.php without the header, navbar and footer ?

King Kovifor 10-25-2008 05:32 PM

Quote:

Originally Posted by Digital Jedi (Post 1652284)
I don't think this has been asked before, but it's crossed my mind a couple of times and I figure, why not. I notice I can pull pretty much any page into the AJAX version of the tabs. Say, for example, I put downloads.php as one of the tab links, it loads it just fine.

Now, the only problem with that is that since downloads.php uses templates and calls the navbar and header, you get duplicates. That's easily enough fixed by simply removing the $header and $navbar variables from the template. Only problem now, is when people visit a do= page of downloads.php, or any page that uses that same template, it loads a new page with no header and template.

So going the long way around to get to the question, is there an if conditional I could use to hide the navbar and header when loaded via AJAX only?

That's one of the draw backs with the module system I coded for v2. It includes everything - and it requires a separate file to work. I've tried to think of a way to effectively resolve this - but I just haven't had the idea that will work.

Digital Jedi 10-25-2008 06:56 PM

Quote:

Originally Posted by King Kovifor (Post 1652558)
That's one of the draw backs with the module system I coded for v2. It includes everything - and it requires a separate file to work. I've tried to think of a way to effectively resolve this - but I just haven't had the idea that will work.

I was considering just putting the internal downloads links to open in a separate Pop-Up window, thereby forgoing the need for a Navbar, Header and Footer. I'll probably give that a try.

Too bad you can't put some kind of identifier into the templates or file so that it knows if it's being loaded via AJAX or not.


All times are GMT. The time now is 07:45 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.01916 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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