vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - AJAX Tabs Content Script v2 (https://vborg.vbsupport.ru/showthread.php?t=161197)

byoungjr 05-09-2008 01:33 AM

I love this mod. I am trying to pull an attachment image onto my recent threads tab. How can I accomplish this? THANKS!!!

Neutral Singh 05-18-2008 01:50 PM

Simply posting to say Thank You for This Plugin!! Great Job!!

Nikoo 05-22-2008 01:39 PM

Hi,

I thinks this is a great mode but i have 2 problems:
1: is that i like the tabs on the top and not down, what do i have to change for that?
2: when i click the links in the tabs i go to this address: http://www.domain.com/forums/showthread.php?t=495 i wonder where i forgot to edit the right address?

Thanks.

bobster65 05-22-2008 01:50 PM

Quote:

Originally Posted by Nikoo (Post 1527968)
Hi,

I thinks this is a great mode but i have 2 problems:
1: is that i like the tabs on the top and not down, what do i have to change for that?
2: when i click the links in the tabs i go to this address: http://www.domain.com/forums/showthread.php?t=495 i wonder where i forgot to edit the right address?

Thanks.

Hi Nikoo

1 - In Post 2 of this thread, there are 2 additional layouts. The CSS for those layouts are already contained in the .CSS File and post 2 shows how to change the layout code for the template. You can also convert those tabs from Bottom to Top (I think I explained how to do that in my thread at vbadvanced) ..

2. Looks like you didn't edit one or more of the content files (or the template).. you need to replace domain . com with your domain ;)

Nikoo 05-22-2008 09:47 PM

Thanks Bob.

I manage to change to the top but i wonder im using vbseo could this cause a conflict to the links inside the tabs?

I also wonder if i want to add some content in HTML, whats the process?

///Nikoo

bobster65 05-22-2008 09:58 PM

Quote:

Originally Posted by Nikoo (Post 1528384)
Thanks Bob.

I manage to change to the top but i wonder im using vbseo could this cause a conflict to the links inside the tabs?

I also wonder if i want to add some content in HTML, whats the process?

///Nikoo

It shouldn't ... I've not had any problems with vbseo and this. Its fully search engine unobtrusive as well.

you can create your own content files.. I believe that I included some samples for simple HTML content within the zip file... creating content files for this is limitless...

Nikoo 05-22-2008 10:56 PM

Fixed the links and now i just have to reedit the style in ccs but i couldn't find the sample for HTML in the zip file, i just found : instructions for PHP sample ) :

bobster65 05-22-2008 11:05 PM

Quote:

Originally Posted by Nikoo (Post 1528423)
Fixed the links and now i just have to reedit the style in ccs but i couldn't find the sample for HTML in the zip file, i just found : instructions for PHP sample ) :

simply create a file and name it something like tabcontent.htm then in that file put your HTML that you want to display and use that file for one of your tabs... Its that simple :)

Nikoo 05-23-2008 08:02 AM

As you said it works, easy and fast :p

is it possible to add pictures in the php files and do you know the code?

Thanks for your help!!!

bobster65 05-23-2008 11:21 AM

Quote:

Originally Posted by Nikoo (Post 1528730)
As you said it works, easy and fast :p

is it possible to add pictures in the php files and do you know the code?

Thanks for your help!!!

Yes, anything is possible ;)

You can add both static and dynamic pictures.

for static images, you could just Echo out basic HTML with in the php content file.

PHP Code:

<?php

echo '<table align="center" cellspacing="2" cellpadding="0" width=100%>';
echo 
'<tr align="center"> <td rowspan="4"><b><img src="http://www.DOMAIN.com/forums/images/IMAGE.jpg"></b></td></tr>';
echo 
'<tr align="center"> <td class="largefont"><b>Blah BLah Blah</b></td></tr>';
echo 
'<tr align="center"> <td class="smallfont"><a href="http://www.DOMAIN.com/forums/forumdisplay.php?f=42"><b>Recent News</b></a></td></tr>';
echo 
'<tr align="center"> <td class="smallfont"><a href="http://www.DOMAIN.com/forums/forumdisplay.php?f=41"><b>World News Now</b></a></td></tr>';
echo 
"</table>";

?>



For Dynamic images, you would use php to do that (examples would be any of the Modules for photopost etc.. ) you could take their code and slightly modify it to work as a content file)


All times are GMT. The time now is 07:37 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.01143 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
  • (1)bbcode_php_printable
  • (4)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