vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - [AJAX] SmnLikQuick v2.0 - Advanced Announcements Block (https://vborg.vbsupport.ru/showthread.php?t=172773)

DjEddie 06-29-2008 09:09 AM

Quote:

Originally Posted by bobster65 (Post 1561545)
No, you wouldn't install the whole thing, just use the content files ie, recentthreadsexp2.php for example and point a tab to it. You would do this manually in the template (for now). King K and I are working on something right now that we may talk Bree into using here which will allow specific additional content modules to be added to this as well..

Here is how to add an additional Tab for an external content file (s)

EDIT the smnlikquick TEMPLATE

I manually inserted an LI tag (IN RED) which will create an addition Tab .. all you need to do is create a content file, upload it, change the name of it in the line below, name your tab and yer golden. Works well with all the content files I have made for AJAX Tabs .. you just need to remark out the calls to any CMPS files that are not being used..

Code:

<table class="tborder" cellpadding="0" cellspacing="0" width="100%" align="center" border="0">
        <tr>
                <td class="alt1">
                        <div id="tabs" class="indentmenu">
                                <ul>
                                $slq_bit
                                <li><a href="tabcontentfile.php" rel="tabcontainer">TAB NAME</a></li>
                                </ul>
                                <br style="clear: left" />
                        </div>
                        <div id="divcontainer" style="border:0px; width:97%; padding: 6px; margin-bottom:1em">
                        </div>

<script type="text/javascript">

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)

</script>

                </td>
        </tr>
</table>

<br />


Thanks for this, got it all working now and it helped me adding my radio stations in there too, really appreciate it thank you :)

And a couple more questions lol,

i want to have the tabs colored before they get selected and to change the red gradient when they are selected, this might of been mentioned before somewhere but I can't see it for the life of me.

and last question, with the recentthreads php file, i want to take some info out so i only have one line...

ie i want to take out topic starter (2nd Line) date when topic made (3rd line) and next column take out the last posters name. so i just have 1 line of info across the whole table.

also can i change this so its latest thread created and not last thread posted in ?

Thanks for all ur help on this..:)

King Kovifor 06-29-2008 02:14 PM

Quote:

Originally Posted by DjEddie (Post 1561886)
Thanks for this, got it all working now and it helped me adding my radio stations in there too, really appreciate it thank you :)

And a couple more questions lol,

i want to have the tabs colored before they get selected and to change the red gradient when they are selected, this might of been mentioned before somewhere but I can't see it for the life of me.

and last question, with the recentthreads php file, i want to take some info out so i only have one line...

ie i want to take out topic starter (2nd Line) date when topic made (3rd line) and next column take out the last posters name. so i just have 1 line of info across the whole table.

also can i change this so its latest thread created and not last thread posted in ?

Thanks for all ur help on this..:)

I can't find the file or I would have edited it for you.

DjEddie 06-29-2008 02:23 PM

Hi Kovifor,

I've added the unedited file as an attachment, appreciate it if you could look for us,

Thank you :)

King Kovifor 06-29-2008 02:38 PM

What do you want taken out?

DjEddie 06-29-2008 02:46 PM

Hi, i'd like taken out please:

Topic Starter
Date When topic made
Last poster

And not sure if this can be done, but i'd like it to Latest threads made, with the newest at the top, not showing the Latest thread that has been posted in,

Thank you :)

King Kovifor 06-29-2008 02:59 PM

Try the attachment. :)

DjEddie 06-29-2008 03:19 PM

Hi, thanx for the quick reply

Its now showing, Topic title, thread starter and data & time when topic started (in first column) other colums arent there.. . <--- the last 2 fields if possible taken off leaving just topic title ...

and the other stuff put back on lol ie Last Post - Replies - Forum columns... so its still in its table but with the last posters name taken out of the last post column

so it all ends up on 1 line on 1 row ...

King Kovifor 06-29-2008 03:22 PM

So you want most of the data, but everything to be on one line?

DjEddie 06-29-2008 03:27 PM

Everything on one line ... data to be included and in the columns is:

Topic Title, - Last Post Time (only) - Replies - Forum Name <--- that info only, so it only uses 1 line per thread..

:) thanks :)

Dennis Kaczor 06-29-2008 03:34 PM

Quote:

Originally Posted by King Kovifor (Post 1561698)
Your table was never created. Try exporting and reimporting your product.

Did that, and not change in the errors seen. I checked and looked at the database and the table is in there, and I was able to view the 2 test messages in there as well.

If I uninstall, will it remove the table from the database? And maybe start from scratch one more time? even removing the upload files to the server as well? Unless you have any other ideas that I can try.

I check to see if the table was there before the export and inport and it was there.

Thanks for the help. And I hope to get this going as I have a use to put this in CMPS as well, but need to correct this issue before hand. Thanks again


All times are GMT. The time now is 02:36 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.01624 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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