The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] SmnLikQuick v2.0 - Advanced Announcements Block Details »» | |||||||||||||||||||||||||||
[AJAX] SmnLikQuick v2.0 - Advanced Announcements Block
Developer Last Online: Dec 2012
Description:
SmnLikQuick v2.0 adds an advanced announcement block (Title and Content) to your vBulletin powered pages that is easily managed via AdminCP. This new version (based on the AJAX Tabs Content Script (v 2.0) written by Dynamic Drive), utilizes Ajax to display multiple announcements in one container when the title (tab) is clicked on. It also has the ability (and utilizes this ability upon install) to rotate between tabs (announcements) in a "slideshow" type manner until a user explicitly clicks on a tab (see screenshots provided). See Post #02 for log. See Post #98 for Upgrade Instructions. See Post #99 for Multiple Styles Fix DEMO: SmnLikDat.com Community Co-Owner/Co-Authors:
SmnLikQuick Addons:
Supporters / CoAuthors Show Your Support
|
Comments |
#452
|
||||
|
||||
The color of the panels is in the template class. Uses default alt. But for rotation, update to this version, and it's in your vBOptions:
https://vborg.vbsupport.ru/showpost....&postcount=320 |
#453
|
|||
|
|||
Hi,
i have found the "problem" that is in the SmnLikQuick.php file in the AdminCp folder. The author of the mod don't have used vBulletin's database class, for this i receive this errors, is not a database problem: Code:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'xxxx'@'localhost' (using password: NO) in [path]/admincp/mod.php on line 50 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/mod.php on line 50 Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/mod.php on line 51 Code:
$announcements = mysql_query("SELECT count(*) FROM `" . TABLE_PREFIX . "mod`"); Code:
$announcements = $db->query("SELECT count(*) FROM `" . TABLE_PREFIX . "mod`"); Code:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/mod.php on line 51 |
#454
|
|||
|
|||
Solved my problem, now this great hack work on my forum too:
if anyone have the same problem, however this warning: Code:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'xxx'@'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 In the file AdminCp/SmnLikQuick.php found (on line 50): Code:
$announcements = mysql_query("SELECT count(*) FROM `" . TABLE_PREFIX . "smnlikquick`"); $announcement = (mysql_result($announcements, 0, 0)); Code:
$announcement = array_pop($db->query_first("SELECT count(*) FROM `" . TABLE_PREFIX . "smnlikquick`", DBARRAY_NUM)) ; Code:
$announcements = mysql_query("SELECT count(*) FROM `" . TABLE_PREFIX . "smnlikquick`"); $announcement = (mysql_result($announcements, 0, 0)); Code:
$announcement = array_pop($db->query_first("SELECT count(*) FROM `" . TABLE_PREFIX . "smnlikquick`", DBARRAY_NUM)) ; |
#455
|
|||
|
|||
Quote:
I might be a tad bit ignorant, where is the template class? located.. >.< apologies. |
#456
|
||||
|
||||
OK, that was phrased wrong. The template is called something (it's been so long!) and inside that template you have <td class="alt1"> ... </td> alt1 is what you would have to change.
|
#457
|
||||
|
||||
Quote:
|
#458
|
|||
|
|||
I just installed on my board and received the following error:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/content/g/y/d/gyddas/html/smnlikquick.php on line 16 |
#459
|
||||
|
||||
Upgrade to 2.0.6, located in one of my posts here.
|
#460
|
|||
|
|||
Quote:
Ok, call me an idiot but I don't understand. I've searched for text in the templates but find lots of alt1's ... I simply need to change the blue that is used in the announcement navbar to black and am clueless. Please help!! |
#461
|
|||
|
|||
Quote:
Find: (mine is edited for my style so look for something similar. Mine was on line 13) Code:
[background: #ff7502 url(/forums/morbid_orange/gradients/gradient_tcat.gif) repeat-x top left; /* EDIT PATCH/GRAPHIC */ Code:
background: #000000 repeat-x top left; /* EDIT PATCH/GRAPHIC */ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|