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)
-   -   Add-On Releases - AJAX Tabs Content Script - Version 3.0 (YUI) (https://vborg.vbsupport.ru/showthread.php?t=191106)

bobster65 09-20-2008 02:26 PM

Quote:

Originally Posted by Magz (Post 1626341)
Just one slight issue at the moment, and im sure its something ive overlooked.

This displays fine on my vbadvanced home page, however, all links are missing the root/forum element, thus resulting in page not found message.

What do i need to change here ?

Thanks

you can fix that by editing the href and img tags in all the content files. Towards the end of the content files is the "// CONTENT OUTPUT (echos out each individual recent thread result into Tab Div Container)"

HREFs for example

Code:

<a href="showthread.php?t=

change to

Code:

<a href="/forum/showthread.php?t=

IMGs for example

Code:

<img border="0" src="images/buttons/lastpost.gif" title="Go To Last Post" />
Change to

Code:

<img border="0" src="/forum/images/buttons/lastpost.gif" title="Go To Last Post" />

Magz 09-20-2008 03:06 PM

As easy as that, thank you bobster

karlm 09-20-2008 06:41 PM

Mr. Bobster... could you give some guidance on how someone may implement their own code to the tabs?

I realise they can adjusted - but I don't mean the tabs themselves... I mean, instead of forum listings under tab 1, perhaps put x- images, under tab 2 a forum and under tab 3 some videos...

4x4 Mecca 09-21-2008 04:40 AM

I added the code to show a new thread button for each page, but is there any way to be able to show multiple pages, I mean it maxes out at 30 posts per page, but can't I have like page 1 page 2 etc... ?

bobster65 09-21-2008 02:29 PM

Quote:

Originally Posted by karlm (Post 1626508)
Mr. Bobster... could you give some guidance on how someone may implement their own code to the tabs?

I realise they can adjusted - but I don't mean the tabs themselves... I mean, instead of forum listings under tab 1, perhaps put x- images, under tab 2 a forum and under tab 3 some videos...

I added the code to show a new thread button for each page, but is there any way to be able to show multiple pages, I mean it maxes out at 30 posts per page, but can't I have like page 1 page 2 etc... ?

Building Content files is similar to building additional pages (minus the need for header, footer). Just take a look at the CONTENT FILES folder in the ZIP File, there are a few different types in there (and will be more soon).

I am working on a recent thread and a News with ajax pagenation..

Trana 09-21-2008 03:39 PM

Bob,

Regarding all your custom work, I'd love to see the VBA Gallery (Photopost VBG), VB Blogs, and VBA Links if you don't mind sharing them.

Also, I'd like to get tabthumbs updated with ajax for real time updates if you want to take on a new custom job. PM me.

Thanks.

derandechser 09-22-2008 10:00 AM

Hi, thanks for sharing this great modification!
I´ve a question: Is it possible to display the most recent Album-Pictures in a tab?
There some modifications to show them on Forumhome, but there must be a way to show them in a seperate tab, i think.
Could you help me?
Greetings,
Peter

bobster65 09-22-2008 03:31 PM

1 Attachment(s)
Quote:

Originally Posted by derandechser (Post 1627603)
Hi, thanks for sharing this great modification!
I?ve a question: Is it possible to display the most recent Album-Pictures in a tab?
There some modifications to show them on Forumhome, but there must be a way to show them in a seperate tab, i think.
Could you help me?
Greetings,
Peter

Yes, its possible.. attached is a SAMPLE on how to do it. The sample is preset to display the 5 latest Photos (side by side) ..

Feel free to modify it to your needs... Everything is commented in the file for advanced Customization ..

derandechser 09-22-2008 05:00 PM

Thank you! Thank you! Thank you!!

Abolutely what i was looking for!

Works fine.

Greetings,
Peter

Hornstar 09-24-2008 10:21 PM

[s]I got this error:

Warning: require_once(./includes/vba_cmps_global.php) [function.require-once]: failed to open stream: No such file or directory in [path]/tabsample1.php on line 28

Fatal error: require_once() [function.require]: Failed opening required './includes/vba_cmps_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/******/public_html/***/forums/tabsample1.php on line 28
[/s]
Fixed: I deleted line 28 and now it is working after clearing my cache.


Any recommendation on where a good place to show this on the forums is? which template and spot?


Also, I think I would like to show this up as if it was an extra forums on the site. how would I go about doing that? code would be needed, as I am not that experienced just yet.

Many thanks for such a wondering mod.


All times are GMT. The time now is 09:31 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.01297 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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