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)

Dingo14 07-19-2008 12:54 AM

You need to check post 26
Quote:

There's no such file named smnlikquick_css.css in the package they gave us!!
https://vborg.vbsupport.ru/showthrea...=172773&page=2

bobster65 07-19-2008 01:04 AM

Quote:

Originally Posted by Dingo14 (Post 1578761)

The ZIP File has long been updated.. he was just not looking in the correct place because the instructions say its elsewhere. :)

Dennis Kaczor 07-20-2008 12:10 AM

Ok, not knowing enough about mysql and the database errors that I have been getting, and took a look at the code in the admincp SmnLikQuick

Now I'm using mysql version 5 and on lines 50 and 51 reads as follows

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

Should mysql be changed to "mysqli"? If I change this, I don't get a cannot access database message but now I get the following.

Warning: mysqli_query() expects at least 2 parameters, 1 given in [path]/admincp/smnlikquick.php on line 50

Fatal error: Call to undefined function mysqli_result() in /home/xxxxxxxx/www/www/forums/admincp/smnlikquick.php on line 51


Notice how these errors are not there now.....Below

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

Just my 2 cents worth here from a rookie, but am I going to the right direction here?

King Kovifor 07-20-2008 12:26 AM

It should be using the vBulletin Database Class. I will check out if it isn't and make necessary changes. :)

King Kovifor 07-20-2008 01:59 AM

Actually, after reading your post again, it would seem that you cannot access your db. You getting these errors else where.

Dennis Kaczor 07-20-2008 03:13 PM

Quote:

Originally Posted by King Kovifor (Post 1579540)
Actually, after reading your post again, it would seem that you cannot access your db. You getting these errors else where.

Wow, the first message I thought there was some hope in getting this to run, and now I'm back to square one again!
Strange thing is that I created 3 announcements and they show up, and run like they should, but it is only when I need to manage the announcements is where there error shows up.

There is a smnlikquick table listed in the database, and the three messages are there as well, so there is some point were the program can access the database, and it seems that the manage portion is the one having the issues. Is there anything that I can do?

Thanks in advance

P.S. The only way that I could get this program to run, is put in an annoucement and all is fine with the display, and the message on the CMPS screen. I have two messages there and it works that way, but if I need to delete an old message, I have to go to mysql home page and remove it from the table..... Strange one!

DoB Rhapsody 07-26-2008 04:33 PM

Everything works fine and i have resized the module so that i can fit a square box to the left for advertisements.

I am getting an error in IE7 though. "Interner Explorer cannot open this site url.." It's a dialog box and when you click ok or X out it goes to a page not found. I've asked some other users and they are not having this issue but i still want to find out what the problem is.

Any help?

Defkalion 07-27-2008 10:59 AM

This is a very nice mod, but there is some problem with cyrillic characters as noted before. Any input in diferrent charachers (for example greek) gets saved as question marks (????? ???? ???). This is the only module with this kind of problem, is there some forgotten charset mis-type somewhere?

King Kovifor 07-27-2008 12:21 PM

Quote:

Originally Posted by Defkalion (Post 1585191)
This is a very nice mod, but there is some problem with cyrillic characters as noted before. Any input in diferrent charachers (for example greek) gets saved as question marks (????? ???? ???). This is the only module with this kind of problem, is there some forgotten charset mis-type somewhere?

Will look into it, added to our internal tracker.

King Kovifor 07-27-2008 01:24 PM

Here is a small update. It adds the ability to change auto rotation without the template edit. Just overwrite the product .xml do update.


All times are GMT. The time now is 02:30 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.01598 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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