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)

barroca 02-25-2008 02:44 PM

Unfortunately don't works with me.
I already pm you :)
tks
Joao barroca
aka beduino
in time: what we need change here?
Code:

$modulehtml = "";
$x = 0;
$bburl = $vbulletin->options['bburl'];

I can change bburl to my portal's url?
x?
html?
:rolleyes: tks in advance!

Quote:

Originally Posted by ZiG (Post 1438553)
I apologize, I said I would post up the GARs tab that I completed and I completely forgot. For those of you using GARs for articles on your vBulletin forums, if you would like to display the latest recent GARs articles within an Ajax TAB you can do so with the following .php file:

Code:

<?php

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'tabrecentthreadsexp'); // change this depending on your filename

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);

// get special data templates from the datastore
$specialtemplates = array(
);

// pre-cache templates used by all actions
$globaltemplates = array(
);

// pre-cache templates used by specific actions
$actiontemplates = array(
);

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
//require_once('./includes/vba_cmps_include_template.php');
require_once('./includes/vba_cmps_global.php');

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################

?>

<?php

echo '<table border="0" cellpadding="0" cellspacing="0" width=100%><tr>';


$modulehtml = "";
$x = 0;
$bburl = $vbulletin->options['bburl'];
$forumids = "";                  //      Comma seperated list of forumids
$limit = 4;                        //      How many items to show
$title = "";                        //        Module Title
$featured = 0;              //      1= Only featured items
$url_to_default_image = "types/3/default.jpg"; //Relative URL to default image from geek/gars/images/ folder
$vertical = 0;                      //      1= Vertical (only for template 1 or 3)
$preview = 1;                      //      1= Show preview
$ratings = 0;                      //      1=show ratings
$template = 2;              //      1=simple with pic, 2=big with pic, 3=Listing no pic
$order = 1;                //      0 = rand, 1=desc, 2=asc
$maxchars = 150;                    //  Maximum amount of chards to snip
$customfields = false;                // Set to true to grab the custom fields.
$parsebb = true;                        //set to true to parse preview

switch ($order)
    {
        case 0:
                $order = "RAND()"; break;
        case 1:
                $order = "g.threadid DESC"; break;
        default:
                $order = "g.threadid ASC";
    }
    if (!$limit)
    {
        $limit = "1";
    }

// COMMENTED OUT FOR TESTING
        ($hook = vBulletinHook::fetch_hook('vba_cmps_module_recthreads_start')) ? eval($hook) : false;

// Main SQL   

                $results = $db->query_read("SELECT g.threadid,g.header_image image, p.title, g.byline" .

                ($preview ? ", IF(g.synopsis, g.synopsis, p.pagetext) synopsis " : "") .

                ($ratings ? ",round((g.overall_rating/10),0) author_rating, g.overall_rating author_rating_percent,round((g.avg_rating/10),0) member_rating, g.avg_rating member_rating_percent " : "" ) .

            ",g.pagecount, g.custom2 $customfields FROM

            " . TABLE_PREFIX . "gars g

            " . ($customfields ? " INNER JOIN " . TABLE_PREFIX . "gars_custom_values gsv ON gcv.custom_threadid = g.threadid " : "") . "

                        INNER JOIN " . TABLE_PREFIX . "thread t ON g.threadid = t.threadid

            INNER JOIN " . TABLE_PREFIX . "post p ON t.firstpostid = p.postid

            WHERE t.visible = 1 AND t.open != 10

            " . ($forumids ? " AND t.forumid in ($forumids) " : "" ) . "

            " . ($featured ? " AND g.feature_untill> " . TIMENOW : "") . "

            ORDER BY $order LIMIT $limit");

                while ($result = $db->fetch_array($results))
                {

                  if (!$result['image'])

                    {

                    $result['image'] = $vbulletin->options['bburl'] . "/geek/gars/images/" . $url_to_default_image;

                    }

                    elseif (substr($result['image'], 0, 1) == ".")

                    {

                      $result['image'] = $vbulletin->options['bburl'] . substr($result['image'], 1);

                      }

                      else

                      {

                      $result['image'] = $vbulletin->options['bburl'] . $result['image'];

                      }
                     
                      if ($parsebb && $template!=3)

                      {

                      $result['message'] = strip_bbcode($result['synopsis']);

                      }

                      if (strlen($result['message']) > $maxchars)

                      {

                      $result['message'] = substr($result['message'], 0, strrpos(substr($result['message'], 0, $maxchars), ' ')) . '...' . ($template!=3 ? construct_phrase($vbphrase['read_more'], $vbulletin->options['bburl'], $result['threadid'], $session['sessionurl']) : "");

                      }
                     
                      if (strlen($result['message']) > $maxchars)

                      {

                      $result['message'] = substr($result['message'], 0, strrpos(substr($result['message'], 0, $maxchars), ' ')) . '...' . ($template!=3 ? construct_phrase($vbphrase['read_more'], $vbulletin->options['bburl'], $result['threadid'], $session['sessionurl']) : "");

                      }

                      eval('$bits = "' . fetch_template('adv_portal_gars_bit' . $template) . '";');

                      echo '<tr>'  .  $bits  .  '</tr>';
                }

echo "</table>";


?>

Basically, I just took the GARs vB CMPS module file and merged it with the recent threads tab file that came with this Ajax TABS script (I think thats what I did? It's been a little while so I kind of forgot. :rolleyes:)

I hope this helps anyone using GARs and the Ajax TABs script. You can see this running live at my website (www.ready-up.com). There is currently a small bug in firefox with my nested tabs, just hit the "Home" link on the top of the page if you are using firefox and you should be able to see the tabs working perfectly after that. PM me if you have any questions or problems setting that up.

Thanks again bob, wonderful script! :cool:


beduino 02-26-2008 02:27 AM

Well
the only way [IMHO] of php to vbblog works is changing

line 24~26 to
Code:

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
//require_once('./includes/vba_cmps_include_template.php');
require_once('./includes/vba_cmps_global.php');

and line 52
Code:

    FROM " . TABLE_PREFIX . "blog as blog
all the best

bobster65 02-26-2008 03:23 AM

Quote:

Originally Posted by beduino (Post 1451138)
Well
the only way [IMHO] of php to vbblog works is changing

line 24~26 to
Code:

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
//require_once('./includes/vba_cmps_include_template.php');
require_once('./includes/vba_cmps_global.php');

and line 52
Code:

    FROM " . TABLE_PREFIX . "blog as blog
all the best

Did you try the Blog addon that I have attached to the #3 post of this thread? It works jsut fine :cool:

beduino 02-26-2008 11:17 AM

Hello Bobster,
first: tks for your attention and support :)
second: I try with orig tab_blog [#post3] but i need make this little adjusts to work.
third: you already think about make one php to DownloadsII [of cyberanger and Jelle]? :rolleyes:

tks again
beduino

Nikke 02-28-2008 12:32 PM

Quote:

Originally Posted by ZiG (Post 1438553)
I apologize, I said I would post up the GARs tab that I completed and I completely forgot. For those of you using GARs for articles on your vBulletin forums, if you would like to display the latest recent GARs articles within an Ajax TAB you can do so with the following .php file:

Basically, I just took the GARs vB CMPS module file and merged it with the recent threads tab file that came with this Ajax TABS script (I think thats what I did? It's been a little while so I kind of forgot. :rolleyes:)

I hope this helps anyone using GARs and the Ajax TABs script. You can see this running live at my website (www.ready-up.com). There is currently a small bug in firefox with my nested tabs, just hit the "Home" link on the top of the page if you are using firefox and you should be able to see the tabs working perfectly after that. PM me if you have any questions or problems setting that up.

Thanks again bob, wonderful script! :cool:

I really love how this looks on your page. I'm wondering however, can this be used on FORUMHOME?

bobster65 02-28-2008 03:40 PM

Quote:

Originally Posted by Nikke (Post 1452856)
I really love how this looks on your page. I'm wondering however, can this be used on FORUMHOME?

yes it can... instead of creating a template module in CMPS, just put the "template code" into the forums home template where you want it. I have really meant to write a how to for this, but just have not had the time..

bobster65 02-28-2008 03:43 PM

Quote:

Originally Posted by beduino (Post 1451326)
Hello Bobster,
first: tks for your attention and support :)
second: I try with orig tab_blog [#post3] but i need make this little adjusts to work.
third: you already think about make one php to DownloadsII [of cyberanger and Jelle]? :rolleyes:

tks again
beduino

I've not looked into making one for DownloadsII (yet). I usually only release stuff that I have a need for on my personal site or stuff that Clients have requested and don't mind me releasing to the members of vborg. I'll put it on the to do list tho ;)

Nikke 03-05-2008 11:16 AM

How can I order the threads by creation date, not by last post date?

Nikke 03-05-2008 11:26 AM

Here is a suggestion for someone who knows php:

Make a Tab-system with:

Most Discussed | Most read

and do three sub-tabs for day - week - month. It would show most discussed - day as the default window. Then you could choose what you would want to show. It could show TOP 10 for everything for example!

Would be a hit, I know it :)

Merrillizer 03-20-2008 04:15 PM

Hi. I have this on my portal. But I am having a problem in higher resolution. As you can see in the screenshots below, 1024x768 is fine. But when I tested the block in higher resolutions (I use Firefox, but tested in both FF and IE7), like 1280x1024, the block shrinks and does not "adapt" to the higher res. like the rest of the blocks do. Can someone help me to get it to adapt/conform automatically to higher resolutions like the other blocks do? For instance the shoutbox stretches/lengthens automatically. Is there some code I need to add to the tabbed block to get it to work? Thanks! Screenshots....

https://vborg.vbsupport.ru/external/2008/03/34.jpg

https://vborg.vbsupport.ru/external/2008/03/35.jpg

bobster65 03-20-2008 04:42 PM

Quote:

Originally Posted by Merrillizer (Post 1469800)
Hi. I have this on my portal. But I am having a problem in higher resolution. As you can see in the screenshots below, 1024x768 is fine. But when I tested the block in higher resolutions (I use Firefox, but tested in both FF and IE7), like 1280x1024, the block shrinks and does not "adapt" to the higher res. like the rest of the blocks do. Can someone help me to get it to adapt/conform automatically to higher resolutions like the other blocks do? For instance the shoutbox stretches/lengthens automatically. Is there some code I need to add to the tabbed block to get it to work? Thanks! Screenshots....

I would change any of the static width values in both the template divs and CSS to 100% ..

Merrillizer 03-20-2008 04:59 PM

Quote:

Originally Posted by bobster65 (Post 1469835)
I would change any of the static width values in both the template divs and CSS to 100% ..

Awesome! Thank you! It worked. I changed the width in the block (template) file from 600px to 100%, and I left the height the same. Works great now! :up:

bobster65 03-20-2008 05:19 PM

Quote:

Originally Posted by Merrillizer (Post 1469859)
Awesome! Thank you! It worked. I changed the width in the block (template) file from 600px to 100%, and I left the height the same. Works great now! :up:

Sweet :cool:

btw, if you like that CSS version but want the tabs on the top I have a solution for that as well which works better if you have height issues with content.

Pistils 04-17-2008 08:48 AM

Id like to start by saying , This is without a doubt one of the best mods i have ever seen for vb.. top job.. i just wish i knew more about coding so i could get it done without hassling you for help..

Im at teh need to edit tabexternal.php file and i cant for teh life of me find where i neeed to edit teh file.. could you please paste a snippet example of adding forum ids and where please bobster.. id very much appreciate the help..

regards

Wayne

bobster65 04-17-2008 01:37 PM

Quote:

Originally Posted by Pistils (Post 1492785)
Id like to start by saying , This is without a doubt one of the best mods i have ever seen for vb.. top job.. i just wish i knew more about coding so i could get it done without hassling you for help..

Im at teh need to edit tabexternal.php file and i cant for teh life of me find where i neeed to edit teh file.. could you please paste a snippet example of adding forum ids and where please bobster.. id very much appreciate the help..

regards

Wayne

Hi Wayne,

tabexternal.php is not a recent threads sample, so it won't have anything to do with forumIDs, it is more for static content that you wish to add.. the other files in the zip (tabexternal2, tabexternal3, tabexternal4) are for recent threads examples and there is a text doc (Instructions for PHP Samples) in the zip that explains how to edit the php content files.

HOWEVER ....

I would highly suggest using the tabrecentthreadsexp2.php file for recent threads rather than the tabexternal files. You can grab this newest file on the 3rd post in this thread ( https://vborg.vbsupport.ru/showpost....44&postcount=3 ) To set the FormIDs in this version, go to line 68 (in this sample, I am pulling from Forum 15, 31, 32 and 33 ... )

Code:

AND thread.forumid=15 or thread.forumid=31 or thread.forumid=32 or thread.forumid=33
The tabrecentthreadsexp2.php is a much better file to use.

Bobster

Pistils 04-18-2008 06:35 AM

Thankyou bobster, i think soem people are coder orientated and soem just arent.. i fall into the latter cat..lol... i think my problem is reading teh whole thread before startin as all teh suggested edits to improve seo etc got me all confused..

i am a little lost as to setting up modules etc and wrappers in vbadvanced as i haev only had it installed a few weeks and havent really gotten to grips with it..

i am just working on pulling 4 seperate tabs displaying recent threads from 4 seperate areas of my board, id like 5 Tabs total with the first showing a flash welcome message/animation

I have a couple of questions for when i do get this working.. i have phpprobid auction and photopost pro, is it possible to pull latest listings from the auction and latest uploads from gallery into a tabs also? do you know any examples of anyone else doing this? 1 last question bobster...

have you included any suggested seo improvement edits suggested by themilkcarton? or will i need to go back through and follow these edits myself? i wish this was a plugin..lol

thankyou for an awesoem mod.. just wish i werent so thick..

regards

Pistils

Pistils 04-18-2008 07:42 AM

well, im doing somat wrong for sure.. !!>?? heres a screengrb of what i see after adding the module to vbadvanced.. i get the latest threads but only 1 window? no tabs.. i see the retreiving data image if i refresh...

any tips please.. for a sore headed code ellergic nood please?

any help much appreciated.. i know this is like water off a ducks back for some of u..

regards

Pistils

bobster65 04-18-2008 12:47 PM

Quote:

Originally Posted by Pistils (Post 1493567)
well, im doing somat wrong for sure.. !!>?? heres a screengrb of what i see after adding the module to vbadvanced.. i get the latest threads but only 1 window? no tabs.. i see the retreiving data image if i refresh...

any tips please.. for a sore headed code ellergic nood please?

any help much appreciated.. i know this is like water off a ducks back for some of u..

regards

Pistils

We'll get ya through this.. just take a deep breath :D I sent you a PM ..

Pistils 04-18-2008 01:35 PM

Hey there bobster.. thankyou for replying..

im so please to have the man helping me.. :) ive seen soem proper smart adaptions of this code on some sites and im jealous..lol im going to get this working if it kills me..lol
( i have no private messages from you buddy.. did you press send? or isnt vb.org working for me too? lol just my luck )

where i am thus far...



edited css and uploaded with the js file... uploaded in forums/ajaxtabs/ajaxtabs.css and ajaxtabs.js

I have named 4 of your tabrecentthreadsexp1 through to 4.. they all display same forums at the minute but ill change that when i see it working... they reside in forums/tabrecent..... 1 2 3 & 4..

I have attempted to create the wrapper with alt_module_wrapper_template code

created template in vbstyles under same style im using

created a recent threads module and included teh previous 2 files.. < this is the part i think im not getting ritght.. im v v new to vbadvanced and cant find any walkthrough examples to show me what to select and what not to select.. php or template? ill keep trying till i get it..


If you could resend me that pm bobster.. its full of needed info..lol Thank You in advance..

regards

Pistils

ps.. has anyone got flash applets working in these? swf o swv movies? can i ask what kind of gallery was installed on the site ( s) you have done custom gallery work for bobster, pelase?

bobster65 04-18-2008 01:48 PM

Quote:

Originally Posted by Pistils (Post 1493744)
Hey there bobster.. thankyou for replying..

im so please to have the man helping me.. :) ive seen soem proper smart adaptions of this code on some sites and im jealous..lol im going to get this working if it kills me..lol
( i have no private messages from you buddy.. did you press send? or isnt vb.org working for me too? lol just my luck )

where i am thus far...



edited css and uploaded with the js file... uploaded in forums/ajaxtabs/ajaxtabs.css and ajaxtabs.js

I have named 4 of your tabrecentthreadsexp1 through to 4.. they all display same forums at the minute but ill change that when i see it working... they reside in forums/tabrecent..... 1 2 3 & 4..

I have attempted to create the wrapper with alt_module_wrapper_template code

created template in vbstyles under same style im using

created a recent threads module and included teh previous 2 files.. < this is the part i think im not getting ritght.. im v v new to vbadvanced and cant find any walkthrough examples to show me what to select and what not to select.. php or template? ill keep trying till i get it..


If you could resend me that pm bobster.. its full of needed info..lol Thank You in advance..

regards

Pistils

ps.. has anyone got flash applets working in these? swf o swv movies? can i ask what kind of gallery was installed on the site ( s) you have done custom gallery work for bobster, pelase?

Hang on, I'll PM you again... its probably something simple and we'll get you up and running :cool:

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)

Nikoo 05-23-2008 02:46 PM

Thanks again Bob, i will try this later. ( :

Chief Corn 05-26-2008 05:57 AM

this is exactly what i was looking for except i don't know how to do it. what i want to do in showthread.php is have the chief post in the first tab separated from the replies in a second tab. any help here?

CFodder 06-01-2008 09:24 AM

Thanks for a fantastic mod Bobster, just wish I could get it to work, but being the prized nub I am I can't figure it out.

The tabs are setup and appear on my forum hompage and as far as I can see have followed your instructions correctly as far as I know (but hey, who the hell knows it's me after all!!). When the page first loads the button text flashes up but after that they are all blank (have the std 4), when I click on any of the buttons get an error as follows:

"Warning: require_once(./includes/vba_cmps_include_template.php) [function.require-once]: failed to open stream: No such file or directory in /home/oldrdev/public_html/dev/ajaxtabs/tabexternal2.php on line 33

Fatal error: require_once() [function.require]: Failed opening required './includes/vba_cmps_include_template.php' (include_path='.:/usr/local/php52/pear') in /home/oldrdev/public_html/dev/ajaxtabs/tabexternal2.php on line 33"

Any help would be greatly appreciated, I've pm'd you my template module contents and a link for the site.

bobster65 06-01-2008 01:24 PM

Quote:

Originally Posted by CFodder (Post 1537667)
Thanks for a fantastic mod Bobster, just wish I could get it to work, but being the prized nub I am I can't figure it out.

The tabs are setup and appear on my forum hompage and as far as I can see have followed your instructions correctly as far as I know (but hey, who the hell knows it's me after all!!). When the page first loads the button text flashes up but after that they are all blank (have the std 4), when I click on any of the buttons get an error as follows:


"Warning: require_once(./includes/vba_cmps_include_template.php) [function.require-once]: failed to open stream: No such file or directory in /home/oldrdev/public_html/dev/ajaxtabs/tabexternal2.php on line 33

Fatal error: require_once() [function.require]: Failed opening required './includes/vba_cmps_include_template.php' (include_path='.:/usr/local/php52/pear') in /home/oldrdev/public_html/dev/ajaxtabs/tabexternal2.php on line 33"

Any help would be greatly appreciated, I've pm'd you my template module contents and a link for the site.

just comment out (or remove) these lines in the content files..

Code:

require_once('./includes/vba_cmps_include_template.php');

CFodder 06-03-2008 11:03 AM

Didn't work sorry, still got error but this time for vba_cmps_global.php.

Doesn't matter anyway as I tried your tabbed forumhome page and that seems to be working ok, although I will have a coupla questions for ya ;).

bobster65 06-03-2008 02:05 PM

Quote:

Originally Posted by CFodder (Post 1539603)
Didn't work sorry, still got error but this time for vba_cmps_global.php.

Doesn't matter anyway as I tried your tabbed forumhome page and that seems to be working ok, although I will have a coupla questions for ya ;).

This may sound dumb, but what version of vbadvanced do you have installed?

CFodder 06-03-2008 09:06 PM

VBulletin 3.7.1, VBAdvanced Dynamics 1.0.1 and VBAdvanced CMPS 3.0.0.

And nah, it's not a dumb question :).

bobster65 06-03-2008 09:16 PM

Quote:

Originally Posted by CFodder (Post 1540028)
VBulletin 3.7.1, VBAdvanced Dynamics 1.0.1 and VBAdvanced CMPS 3.0.0.

And nah, it's not a dumb question :).

remark out the require vba_cmps_global.php line as well .. if I remember correctly, I stripped the stuff out that was needed and those are no longer required.. once I am done with version 2 of Tabbed Forum Home, I am going to release a newer version of this one as well.

Defkalion 06-08-2008 08:11 PM

Hey Bob, congratulations once again for another fantastic mod, I have it working great.

I need help on one thing though: is there a way to load only in the initial page load the tabs and not everytime you click on a tab? I tried setting the

ddajaxtabssettings.bustcachevar=0

to the 0 value, but it only seems to work in IE. In my Firefox, tabs try to load content every time you click on them.

bobster65 09-01-2008 09:16 PM

** CONTENT FILE UPDATES **

For those of you that have this installed and don't get over to vBa ... I've updated a couple of the content files. The updates are located in the 3rd post of this thread and of course also over at vBa....
(https://vborg.vbsupport.ru/showpost....44&postcount=3)

The main reason for the Update was to ADD in Thread Marking to the recent threads content file as well as the Thumbnail Threads content file.. there are however a few enhancements made to the top of both files for ease of setup and administration. Look for more updates soon.

**UPDATED** RECENT THREADS 09-01-2008 - tabrecentthreadsexp2.php - This file includes Post ICON Column and the ability to set a specific Thread Title Character cut off amount. The UPDATE includes both database thread marking and cookie based thread marking. Various settings at the top of the file make install/Setup a breeze.

**UPDATED** RECENT THREADs with THUMBNAIL 09-01-2008 - tabthumbs.php - This file is the same as tabrecentthreadsexp2.php with the addition of displaying a thumbnail in place of the post ICON if there is a image attached to the first post. You can see an example of this @ www.veggieblogs.com specifically the RECIPES or Cookbooks Tabs. The UPDATE includes both database thread marking and cookie based thread marking. Various settings at the top of the file make install/Setup a breeze.


All times are GMT. The time now is 12:18 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.01586 seconds
  • Memory Usage 1,918KB
  • 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
  • (8)bbcode_code_printable
  • (1)bbcode_php_printable
  • (18)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
  • (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