vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] vBShout v2.0 (https://vborg.vbsupport.ru/showthread.php?t=93097)

ThePimp 07-29-2005 08:46 AM

I'm running 3.5 Beta 4... I don't see a "Manage Products" -> "Add/Import Product" section... Any way to work around this?

Marco van Herwaarden 07-29-2005 08:58 AM

Yes, upgrade to 3.5 RC1

Zero Tolerance 07-29-2005 11:51 AM

Updated to v1.1, corrected the WOL, could of sworn i included those plugins .. oh well.

To answer a few questions, no this will not work with any beta versions, since none of them don't have the product manager, which you will need to upload the XML included in the download.

As for updating with options/permissions, yes that will come, i intend to use this shoutbox myself when i upgrade to vB 3.5, so more features will be on the way :)

Since a lot of people seem to like the shoutbox being at the bottom, i'll ensure that will be an ACP feature in the future (place shoutbox below navbar/below forums/below forum stats).

- Zero Tolerance

cclaerhout 07-29-2005 12:19 PM

Here is a way to place your Shoutbox WHERE YOU WANT

Simple edit your forumhome template. Create where you want the variable :
Code:

$shout
This will be the place where will appear your shoutbox. But for this, you have to do a last modification :

Go to your Plugin Manager, edit "vBShout [Template Alteration]" and replace $navbar by $shout.

It should be like this
Code:

eval('$Shoutbox = "' . fetch_template('forumhome_vbshout') . '";');

$vbulletin->templatecache['FORUMHOME'] = str_replace('$shout','$shout $Shoutbox',$vbulletin->templatecache['FORUMHOME']);


Zero Tolerance 07-29-2005 12:33 PM

Good idea, but just to clean upa little (sorry, it's a habbit :p), change the plugin to:
PHP Code:

eval('$Shoutbox = "' fetch_template('forumhome_vbshout') . '";'); 

And simply place the variable '$Shoutbox' in forumhome we're ever you'd like :)

- Zero Tolerance

Cyricx 07-29-2005 12:33 PM

Problem with the v1.1 xml..

Getting this error

Code:

Database error in vBulletin 3.5.0 Release Candidate 1:

Invalid SQL:
CREATE TABLE `vb3_shout` (
  `sid` int(15) NOT NULL auto_increment,
  `s_by` int(15) NOT NULL default '0',
  `s_time` int(15) NOT NULL default '0',
  `s_shout` text NOT NULL,
  PRIMARY KEY  (`sid`)
) ENGINE=MyISAM;;

MySQL Error  : You have an error in your SQL syntax near 'ENGINE=MyISAM' at line 7
Error Number : 1064

Also, when you edit the product, the install code looks like this

Code:

$Query = "CREATE TABLE `".TABLE_PREFIX."shout` (
  `sid` int(15) NOT NULL auto_increment,
  `s_by` int(15) NOT NULL default '0',
  `s_time` int(15) NOT NULL default '0',
  `s_shout` text NOT NULL,
  PRIMARY KEY  (`sid`)
) ENGINE=MyISAM;";

$vbulletin->db->query($Query);


Zero Tolerance 07-29-2005 12:37 PM

What version of mySQL are you using?

- Zero Tolerance

Cyricx 07-29-2005 12:38 PM

Not sure why bud, but I changed it to this

Code:

<installcode><![CDATA[$Query = "CREATE TABLE `".TABLE_PREFIX."shout` (
  `sid` int(15) NOT NULL auto_increment,
  `s_by` int(15) NOT NULL default '0',
  `s_time` int(15) NOT NULL default '0',
  `s_shout` text NOT NULL,
  PRIMARY KEY  (`sid`)
)";

And it ran fine, installed fine, and is working fine on my test board at www.mmogcommunities.com/test/forums

Metro Man 07-29-2005 01:16 PM

How many shoutentries are stored?

Cyricx 07-29-2005 01:56 PM

it displays the last 20


All times are GMT. The time now is 01:03 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.03028 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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