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)

ibautocommunity 08-13-2009 10:00 PM

Widgetizer - Build dynamic thread widgets in and outside vBulletin
 
1 Attachment(s)
Product name: Widgetizer

Level of Difficulty: Moderate, this product requires a good understanding of CSS, HTML and vBulletin.

Who should use this product: Webmasters who wants to really customize their vBulletin, webmasters that have non-vBulletin CMS pages that want to integrate forum thread widgets into their non-vbulletin pages.

Support: This product is NOT supported.

What does it do?

This product automatically builds and caches (no load issues!) dynamic widgets for Newest Threads, Featured Forum, Marketplace, Most Active in 24 hours, Most Popular, and allows you to CSS style and add these blocks anywhere, including NON-VBulletin pages!

Live demo:

- vB Widgets on non-vB pages:
http://www.scionlife.com (latest posts & features news)
http://www.my350z.com
http://www.mbworld.org
http://www.mustangforums.com/forum -widgets built into the right column on forum

cad2go 08-14-2009 08:46 PM

woohoo!

Been Told 08-15-2009 06:17 AM

Am I missing something or are there no install or usage instructions in the zip archive?
For example:
The first option "Cache Directory" - what do I enter there? And once the configuration is done - where do I get the code to create widgets in my CMS?

goyo 08-15-2009 08:21 AM

Finally! Thank You :)

Latest albums would be a great addition to widgets...there's no other hack can display latest albums on external site...

valdet 08-15-2009 10:06 AM

Good work.

Strangely, in footer of two of those demo forums, Internet Brands notice is there. Are you IB staff?

Let's hope something like this will come packaged with vBulletin 4 series.

Ohiosweetheart 08-15-2009 12:19 PM

Wow y'all are on a roll. First vB Nexus, now this. Things are getting pretty interesting!

merk_aus 08-15-2009 01:21 PM

thanks for that should be interesting have downloaded but its 1am here so will install in the morning!

Alfa1 08-15-2009 02:51 PM

How does this add widgets inside vbulletin? Can it show widgets within post?

ArnyVee 08-15-2009 03:35 PM

This sounds very interesting. :up:

ibautocommunity 08-15-2009 04:22 PM

Instructions are very simple - they are in the README file. You can build a widgets anywhere, inside posts, outside vbulletin on non-vbulletin pages, etc.

VB 4.0 comes with its own widget system which puts this one to shame :) but until then - this gets the job done.

cad2go 08-15-2009 05:37 PM

a list of groups would be great and I second the album suggestion

Addams 08-15-2009 08:41 PM

Wow, this plugin is what I was looking for :)

But a have a problem... I don't know if Im doing something wrong or what, but in the widget-config.php file there's a line saying:
Quote:

* Step 5: Upload the widgets-cron.php file to the includes/cron directory
I dont see any widgets-cron.php file in the .zip.

Please forgive if is a stupid question:), but I would really love have this plugin working and I can't find this file. And sorry for my english, because Im spanish:D

Thanks<3

EagleNick 08-16-2009 01:26 AM

Quote:

Originally Posted by Addams (Post 1868129)
Wow, this plugin is what I was looking for :)

But a have a problem... I don't know if Im doing something wrong or what, but in the widget-config.php file there's a line saying:


I dont see any widgets-cron.php file in the .zip.

Please forgive if is a stupid question:), but I would really love have this plugin working and I can't find this file. And sorry for my english, because Im spanish:D

Thanks<3

I don't see it either. :p

EagleNick 08-16-2009 01:27 AM

Quote:

Originally Posted by ibautocommunity (Post 1867971)
Instructions are very simple - they are in the README file. You can build a widgets anywhere, inside posts, outside vbulletin on non-vbulletin pages, etc.

VB 4.0 comes with its own widget system which puts this one to shame :) but until then - this gets the job done.

Do you know if the vB 4 widgets will be usable on non-vBulletin pages?

ibautocommunity 08-17-2009 11:19 PM

You guys - I am so so sorry. I forgot to package the cron job file. I updated the attached ZIP file - it now has the needed file. So sorry, my mistake.

TheLastSuperman 08-17-2009 11:25 PM

Ahh very nice to see this, I'm not updating right away to 4.0 until I have time to learn nearly all the changes so until then this will work perfectly, I'll install tonight after dinner tonight!

Thanks :D

S-MAN

Edit: Update your sig w/ link to vB Nexus ;)

Ozidoggy 08-18-2009 01:17 AM

Says example code inside widgets.php.... Hmmmm there is no widgets.php?

Ozidoggy 08-18-2009 02:08 PM

Also get 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 :

merk_aus 08-18-2009 02:27 PM

thanks for this it is highly appreciated am just hoping of getting your other mod working on my forums now haha

saadessa 08-18-2009 03:24 PM

Quote:

Originally Posted by ibautocommunity (Post 1869452)
You guys - I am so so sorry. I forgot to package the cron job file. I updated the attached ZIP file - it now has the needed file. So sorry, my mistake.

thank you for update of attached file
i ,am lucky to download now ( with update ) :)

thank you ibautocommunity

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

uprentiss 09-16-2009 02:09 AM

helppp


All times are GMT. The time now is 06:15 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.01156 seconds
  • Memory Usage 1,784KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete