vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Widgetizer - Build dynamic thread widgets in and outside vBulletin (https://vborg.vbsupport.ru/showthread.php?t=220909)

TheLastSuperman 08-18-2009 08:59 PM

Quote:

Originally Posted by Ozidoggy (Post 1869489)
Says example code inside widgets.php.... Hmmmm there is no widgets.php?

Agreed!

Ohh Developer lol??

shaunceb 08-18-2009 10:02 PM

Quote:

Originally Posted by TheLastSuperman (Post 1870080)
Agreed!

Ohh Developer lol??

I'll third that. :)


Any chance of some example code please?

ibautocommunity 08-19-2009 01:01 AM

sorry guys, I reuploaded the zip file with widgets.php

Thanks a lot.

Ozidoggy 08-19-2009 01:24 AM

Any idea how to fix this error?


Quote:

Invalid SQL:
SHOW TABLES LIKE vb_'ibportal';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'vb_'ibportal'' at line 1
Error Number : 1064
Request Date : Tuesday, August 18th 2009 @ 02:19:33 PM
Error Date : Tuesday, August 18th 2009 @ 02:19:51 PM
Script : http://www.mysite.com.au/forum/cron.php?rand=825562
Referrer : http://www.mysite.com.au/forum/links...ing-kennels-3/
IP Address : xxx.xx.xxx.xx
Username : Unregistered
Classname : vB_Database
MySQL Version :

Brandon Sheley 08-19-2009 02:11 AM

another nice mode from the IB guys
now this is how you make the members happy ;)
good job to internetbrands

Addams 08-19-2009 03:35 PM

Thanks! Installed and working now outside of vbulletin!
http://theslayingthing.net/widgets.php

Just a little sugestion to a new version... could be cool add a stats widget :)

DGsemiPROoCOM 08-28-2009 02:18 PM

a widget for the "video directory" would be awesome as well

recent vids
top vids
etc...

Robofuzz 09-06-2009 09:21 PM

Quote:

Originally Posted by Ozidoggy (Post 1870204)
Any idea how to fix this error?

Getting a similar error. Seems to be an issue with the table prefixes?

Robofuzz 09-06-2009 09:27 PM

Quote:

Originally Posted by Ozidoggy (Post 1870204)
Any idea how to fix this error?

I fixed the problem. There is an error in one sql query when you have a table prefix. In the class_ibwidgets.php file search for this code:

Code:

$check = "SHOW TABLES LIKE " . TABLE_PREFIX . "'ibportal'";
and replace with this:

Code:

$check = "SHOW TABLES LIKE '" . TABLE_PREFIX . "ibportal'";
There's a misplaced single quote in that statement. Just moving the single quote to the other side of the TABLE_PREFIX fixes the issue.

uprentiss 09-15-2009 06:06 PM

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/42/d253160043/htdocs/includes/class_ibwidgets.php on line 5

i get this error wtf


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

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.01008 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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