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)

bobster65 06-26-2008 11:45 AM

Quote:

Originally Posted by DjEddie (Post 1559367)
Question:

Is it possible to include something where you can call the Last topics made in a certain forum to show in the tabs and update itself when a new topic is made in that forum?

Thanks :)

You can use my content files ( http://www.vbadvanced.com/forum/showthread.php?t=25189 ) from this mod (with a little minor editing) with this, since this is driven of that lol .. but ya, you can and its being done.

There are probably going to be some new features with this as soon as Bree gets back online. KK and I have a list ready for her lol.

douffle 06-26-2008 12:59 PM

Thank you very much. I didn't see that post before. Works GREAT now.

Thanks again.

DjEddie 06-26-2008 10:56 PM

Quote:

Originally Posted by bobster65 (Post 1559485)
You can use my content files ( http://www.vbadvanced.com/forum/showthread.php?t=25189 ) from this mod (with a little minor editing) with this, since this is driven of that lol .. but ya, you can and its being done.

There are probably going to be some new features with this as soon as Bree gets back online. KK and I have a list ready for her lol.

Thanx for that bobster, this is really a good mod, possibilities are endless, i'm lookin at put our radio panel we've made inside it.. just needs a fiddle about with .. but getting there.

Thanks again, *awaits next version* :)



Hi bobster, I've looked through the link you gave me, quick questions...

Basically, would I have to install the whole thing for it to work or could I take the thread php file and upload it and have a tab point to it...so which code would i use to do that?. . or is there another way round it?

Thanks

Dennis Kaczor 06-28-2008 08:21 PM

Ok running VB 3.72 and a friend brought this program to my attention.

Installed and when I go to add a message I get this SQL error message.

Warning: mysql_query() [function.mysql-query]: Access denied for user: 'torontod@localhost' (Using password: NO) in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/smnlikquick.php on line 51


Even if I add a message, then I don't get a message block like I have seen, and if I add another message it does not display right.... Like this
  • Test1
  • Test2

Any ideas? I would love to see this one work.

King Kovifor 06-28-2008 08:35 PM

Quote:

Originally Posted by Dennis Kaczor (Post 1561525)
Ok running VB 3.72 and a friend brought this program to my attention.

Installed and when I go to add a message I get this SQL error message.

Warning: mysql_query() [function.mysql-query]: Access denied for user: 'torontod@localhost' (Using password: NO) in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/smnlikquick.php on line 51


Even if I add a message, then I don't get a message block like I have seen, and if I add another message it does not display right.... Like this
  • Test1
  • Test2

Any ideas? I would love to see this one work.

It cannot access your database from your supplied information. I wouldn't see why if your forums worked.

And double check the CSS path.

bobster65 06-28-2008 08:56 PM

Quote:

Originally Posted by DjEddie (Post 1559969)
Hi bobster, I've looked through the link you gave me, quick questions...

Basically, would I have to install the whole thing for it to work or could I take the thread php file and upload it and have a tab point to it...so which code would i use to do that?. . or is there another way round it?

Thanks

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 />


Dennis Kaczor 06-28-2008 09:48 PM

Quote:

Originally Posted by King Kovifor (Post 1561532)
It cannot access your database from your supplied information. I wouldn't see why if your forums worked.

And double check the CSS path.

I had put the full path in there and that did not work out, but I removed the / slash and now I get the blocks and see the two messages.

But I don't understand the SQL errors that I have listed. Error Messgae The requested URL /forums/admincp/function.mysql-query was not found on this server.

Here is a screen capture of where the errors occur, is there anything else that you would need from me to sort out this problem?


http://www.icurdigital.com/dennis/sql_error.jpg

Sorting out this stuff is my weak area big time.

King Kovifor 06-28-2008 10:38 PM

The first error says it cannot establish a connection with your database. Does vBulletin give you this error?

Dennis Kaczor 06-28-2008 11:15 PM

Quote:

Originally Posted by King Kovifor (Post 1561613)
The first error says it cannot establish a connection with your database. Does vBulletin give you this error?

No I don't get that error message for vBulletin at all. I checked my emails and there was SQL errors reported for VB.

But here is the ones from your software. I hope that this will be a clue for you.

Database error in vBulletin 3.7.1:

Invalid SQL:
SELECT * FROM `smnlikquick` WHERE `status`='1' ORDER BY `dis_order`;

MySQL Error : Table 'torontod_vb_data.smnlikquick' doesn't exist
Error Number : 1146
Request Date : Saturday, June 28th 2008 @ 11:12:52 AM
Error Date : Saturday, June 28th 2008 @ 11:12:52 AM
Script : http://www.icurdigital.com/forums/
Referrer :
IP Address : 99.234.69.7
Username : Admin
Classname : vB_Database_MySQLi
MySQL Version : 5.0.45-log

Thanks for your help on this issue

King Kovifor 06-29-2008 01:51 AM

Your table was never created. Try exporting and reimporting your product.


All times are GMT. The time now is 03:37 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.01554 seconds
  • Memory Usage 1,756KB
  • 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
  • (6)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