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)

King Kovifor 02-12-2009 07:06 PM

Quote:

Originally Posted by Sworm (Post 1741582)
I have the same problem, i think that's it a bug of the mod, that not support mysqli....
if the database can't be connected, all the forum/other mod will be out, but the only mod that not work is this.
I have uninstall it because i can't lose time to add the announcements manually.

Thanks

We use default vBulletin DB classes, it should support it either way.

Sworm 02-12-2009 08:00 PM

Ok,
i'm using MySql 5.0.67 a community .....
I Hope that the next release will work for all.

Thanks

Nantrox 02-16-2009 06:38 AM

very nice mod !! But I got one more question: is it possible to add a hide funktion (like the categories, the small minus on the left) ?? That would be awesome !

King Kovifor 02-16-2009 06:55 PM

Quote:

Originally Posted by Nantrox (Post 1745666)
very nice mod !! But I got one more question: is it possible to add a hide funktion (like the categories, the small minus on the left) ?? That would be awesome !

Hide option?

bobster65 02-16-2009 07:00 PM

Quote:

Originally Posted by King Kovifor (Post 1746179)
Hide option?

Im sure he means Collapse..

King Kovifor 02-16-2009 07:11 PM

Quote:

Originally Posted by bobster65 (Post 1746180)
Im sure he means Collapse..

It may or may not be workable for the next version. ;)

bobster65 02-16-2009 07:43 PM

Quote:

Originally Posted by King Kovifor (Post 1746193)
It may or may not be workable for the next version. ;)

if we do it, lets do it so that administrators can set it by user group.. that way they can ensure that certain user groups can't close them and miss important announcements ;)

murekhalir 02-20-2009 05:36 AM

wait is :

SmnLikQuick

different form

YUI tabbed content?

bobster65 02-20-2009 12:48 PM

Quote:

Originally Posted by murekhalir (Post 1749672)
wait is :

SmnLikQuick

different form

YUI tabbed content?

totally .. this is strictly for announcements only

murekhalir 02-21-2009 04:49 AM

AH in that case,

there is just one question about the mod.. well two...

1. How or where can i change the color of the panels?

2. How can I control time, speed of the slides. (In fact.. i dont want it to move!)

thanks.b (when you have free time to answer!)

King Kovifor 02-21-2009 01:53 PM

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

Sworm 03-02-2009 12:46 PM

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

I have changed in the line 50 "mysql_query" with "$db->query":

Code:

$announcements = mysql_query("SELECT count(*) FROM `" . TABLE_PREFIX . "mod`");
Code:

$announcements = $db->query("SELECT count(*) FROM `" . TABLE_PREFIX . "mod`");
With this edit the first 2 errors are fixed, but there's again the last error on the line 51:
Code:

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/mod.php on line 51
How can i do for change this string in vb database class?Or the're's any other fix?

Sworm 03-03-2009 08:53 AM

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

Try this edit:

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));

replace with:
Code:

  $announcement = array_pop($db->query_first("SELECT count(*) FROM `" . TABLE_PREFIX . "smnlikquick`", DBARRAY_NUM)) ;
Again in AdminCp/SmnLikQuick.php found(on line 122):
Code:

$announcements = mysql_query("SELECT count(*) FROM `" . TABLE_PREFIX . "smnlikquick`");
$announcement = (mysql_result($announcements, 0, 0));

Replace with:
Code:

$announcement = array_pop($db->query_first("SELECT count(*) FROM `" . TABLE_PREFIX . "smnlikquick`", DBARRAY_NUM)) ;
With this edit i have solved my problem, thanks to Shadab for the support

murekhalir 03-07-2009 10:15 PM

Quote:

Originally Posted by King Kovifor (Post 1750706)
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



I might be a tad bit ignorant, where is the template class? located.. >.<

apologies.

King Kovifor 03-07-2009 10:55 PM

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.

Filmkolik 03-27-2009 09:21 AM

Quote:

Originally Posted by King Kovifor (Post 1750706)
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

Thanks King Kovifor

mommiesrus 06-20-2009 06:04 PM

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

King Kovifor 06-21-2009 10:38 PM

Upgrade to 2.0.6, located in one of my posts here.

daxxer 07-04-2009 03:42 AM

Quote:

Originally Posted by King Kovifor (Post 1762830)
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.


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

Traxion 07-20-2009 09:52 PM

Quote:

Originally Posted by daxxer (Post 1842489)
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!!

You need to find the smnlikquick_css.css file and edit it. Its usually under the /forums/clientscript

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 */
Replace with:
Code:

background: #000000 repeat-x top left; /* EDIT PATCH/GRAPHIC */
On line 43 is the button color as well. If you want that black paste the same code there as well. Hope this helps

KevinGupta 07-23-2009 12:04 PM

THANKS looks good I will try it later :)

Defkalion 08-06-2009 09:53 AM

For anyone that's been having a problem displaying stuff in languages other than english, I solved it by doing the following:

Open the product XML file, edit line 19 and change this:

PHP Code:

DEFAULT CHARSET=latin1 

to this:

PHP Code:

DEFAULT CHARSET=UTF8 

and re-install the product and overwrite...

I hope this helps you. :)

Eruantien 09-07-2009 08:36 PM

Quote:

Originally Posted by bobster65 (Post 1541471)
yes, send that message to your HOST and ask them to turn it on.. its a php.ini setting on your server.

Can someone be more specific with this instruction? I am getting the same error provided here:

Quote:

Warning: Call-time pass-by-reference has been deprecated in D:\Inetpub\loremaster\smnlikquick.php on line 16
So I guess my more direct question is. Turn on what?

bobster65 09-08-2009 02:10 PM

Quote:

Originally Posted by Eruantien (Post 1881279)
Can someone be more specific with this instruction? I am getting the same error provided here:

So I guess my more direct question is. Turn on what?

set 'allow_call_time_pass_reference' to 'true' in your php.ini file

Matt Lathrop 09-26-2009 09:00 PM

How do I change the color of the unselected tab name... it blends in too much with the background. Just this one not al the links for the style.

powerful_rogue 12-23-2009 06:34 PM

Hi,

Would it be possible to make this visible to guests only?

powerful_rogue 12-23-2009 07:36 PM

Quote:

Originally Posted by Matt Lathrop (Post 1891042)
How do I change the color of the unselected tab name... it blends in too much with the background. Just this one not al the links for the style.

Im also struggling to change the colour of the text as well. Ive tried playing around with various settings but with no joy :(

kylek 12-26-2009 03:47 AM

Any chance that this will be available for vb4?

bobster65 12-27-2009 09:52 PM

Quote:

Originally Posted by kylek (Post 1938404)
Any chance that this will be available for vb4?

ya, I think so... I'll try and catch Bree and KK and see about porting it to vb4.

powerful_rogue 12-29-2009 11:14 AM

Hi Bobster,

Any idea on how to change the colour of the unselected tab name? It blends in too much and you cant read the tab title until its selected.

Ive tried playing around with the css, but cant seem to locate the correct setting.

bobster65 12-29-2009 02:22 PM

Quote:

Originally Posted by powerful_rogue (Post 1941430)
Hi Bobster,

Any idea on how to change the colour of the unselected tab name? It blends in too much and you cant read the tab title until its selected.

Ive tried playing around with the css, but cant seem to locate the correct setting.

Without seeing your CSS file, I am going to suggest that you try adding a color element to either the .indentmenu class or the .indentmenu class

so if you are using the default CSS file that Bree provided, it would look like this..

Code:

.indentmenu{
font: bold 13px Arial;
width: 100%;
}

change to

Code:

.indentmenu{
color: #000000;
font: bold 13px Arial;
width: 100%;
}

OR

Code:

.indentmenu ul{
margin: 0;
padding: 0;
float: left;
width: 100%;
border-top: 6px;
background: #869BBF url(/images/gradients/gradient_tcat.gif) repeat-x top left; /* EDIT PATCH/GRAPHIC */
}

change to

Code:

.indentmenu ul{
margin: 0;
padding: 0;
float: left;
width: 100%;
border-top: 6px;
color: #000000;
background: #869BBF url(/images/gradients/gradient_tcat.gif) repeat-x top left; /* EDIT PATCH/GRAPHIC */
}


MalluParadise 03-17-2010 02:22 PM

did this mod work in Vb-4 ?

MalluParadise 02-18-2011 04:17 AM

I got
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: smnlikquick_bit in [path]/includes/functions.php on line 4007

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1280) : eval()'d code on line 20

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: smnlikquick in [path]/includes/functions.php on line 4007 for VB-4

bobster65 02-18-2011 06:34 PM

Quote:

Originally Posted by MalluParadise (Post 2005557)
did this mod work in Vb-4 ?

No and I am not sure if Bree wants to update it to work with vB4 or not. Its her MOD, not mine or KK's ..

Sworm 03-19-2011 04:28 PM

............

Sworm 05-05-2011 06:51 PM

I have always loved this hack, but should be really great to edit the css to have that small white gap , that exist in the default navbar gradient tab....
Attachment 128832

The first red is of SmnLikQuick, the second red is the default.....

AnyBody know what must i do to have the same great gap in this great hack too?

Thanks in advance

############Edit############

I have edited the smnlikquick tpl , the results seems pretty, but the ground is white , not grey like vb default.....
Attachment 128833

Not there's a way to show grey the smnlikquick border too?

################Edit##################

Doned :up:
Attachment 128837

PS
But this hack is related to the calendar?
When i try to add a new calendar event , the default event title is the same title of the last smnlikquick tab....


All times are GMT. The time now is 03:56 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.01839 seconds
  • Memory Usage 1,838KB
  • 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
  • (15)bbcode_code_printable
  • (2)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)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