Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
[AJAX] SmnLikQuick v2.0 - Advanced Announcements Block Details »»
[AJAX] SmnLikQuick v2.0 - Advanced Announcements Block
Version: 2.0.4, by Bree Bree is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.x Rating:
Released: 03-11-2008 Last Update: 05-10-2008 Installs: 214
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

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:Please Note that there is a new setting that allows Admins to choose whether to parse BB Code or HTML (not both). It is reccomended that you parse BB for security reasons, however the choice is yours.

SmnLikQuick Addons:
  • SmnLikQuick CMPS Module - This turns your SmnLikQuick v2.0.x Announcements Block into a CMPS Module. You MUST have BOTH SmnLikQuick v2.0 AND vBAdvanced CMPS installed. Demo: SmnLikDat.com
Future Features:
  • Usergroup permissions per Announcement.
  • Slideshow timing controlled via AdminCP (Control Speed or Disable this feature)
  • Display certain Announcements to certain users via their UserCP
INSTALL:
  1. Upload the files within the UPLOAD folder (in this package) to the corrosponding forum directories on your server making sure to keep the filetree intact.
  2. Import Product: SmnLikQuick.xml via AdminCP>Plugins & Products>Manage Products>Add/Import Product
  3. Refresh AdminCP (ie: Ctrl-F5)
  4. Complete Template Edits (2 Edits) - Instructions provided in .zip file.
  5. (Optional) Edit includes/smnlikquick_css.css to match your style.
  6. Add Announcements & Enable the SmnLikQuick Mod via AdminCP>SmnLikQuick
Don't forget to mark as installed! Support will be given in this thread. Comments appreciated and feature requests welcomed! Thank you and Enjoy! -Bree

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #312  
Old 07-19-2008, 12:54 AM
Dingo14 Dingo14 is offline
 
Join Date: Dec 2007
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #313  
Old 07-19-2008, 01:04 AM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dingo14 View Post
The ZIP File has long been updated.. he was just not looking in the correct place because the instructions say its elsewhere.
Reply With Quote
  #314  
Old 07-20-2008, 12:10 AM
Dennis Kaczor Dennis Kaczor is offline
 
Join Date: Oct 2005
Location: Toronto
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #315  
Old 07-20-2008, 12:26 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should be using the vBulletin Database Class. I will check out if it isn't and make necessary changes.
Reply With Quote
  #316  
Old 07-20-2008, 01:59 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, after reading your post again, it would seem that you cannot access your db. You getting these errors else where.
Reply With Quote
  #317  
Old 07-20-2008, 03:13 PM
Dennis Kaczor Dennis Kaczor is offline
 
Join Date: Oct 2005
Location: Toronto
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor View Post
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!
Reply With Quote
  #318  
Old 07-26-2008, 04:33 PM
DoB Rhapsody DoB Rhapsody is offline
 
Join Date: Jul 2007
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #319  
Old 07-27-2008, 10:59 AM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #320  
Old 07-27-2008, 12:21 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Defkalion View Post
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.
Reply With Quote
  #321  
Old 07-27-2008, 01:24 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06729 seconds
  • Memory Usage 2,313KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete