vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - [PBPG] Chess (https://vborg.vbsupport.ru/showthread.php?t=232923)

Carnage 01-17-2010 11:28 AM

Yeah, the version on my site is the vb3 version; its got a lot more features implemented in it as i've been developing it longer; with the advent of vb4 changing all the style stuff, i've had to reimplement the entire user interface.

A good portion of the interface is done and will be in the next release; feel free to copy the instructions from my site in the interim thou. There are also some faq entries, but these will be out of date as since i've had to reimplement the user interface, i'm improved it quite a bit as well.

For the db error, find the get ALL posts plugin (from the pbpg core) find this line:
PHP Code:

$perpage 99999999999999999//should be enough... 

change to:
PHP Code:

$perpage 99999999//should be enough... 


This will be fixed in the next pbpg core release.

ShawnV 01-17-2010 03:37 PM

Awesome, looking forward to the update.

Oh, I noticed that I cannot deselect a forum once I have selected it for the game, even after uninstalling the plug in, it still leaves the game selection drop-down option when you create a post. Not sure if you knew about that.

Carnage 01-17-2010 10:16 PM

Little known fact, if you ctrl+ click a selected item in a multi select box, in most browsers it de-selects it. You can use this to remove plugin from a forum.

The reason that uninstalling it dosn't help is that the uninstall code is currently //todo. It'll probably be there in the next release.

ShawnV 01-23-2010 02:34 AM

If possible, It would be good to post an uninstall script for this since uninstalling the product does nothing at the moment.

Carnage 01-23-2010 09:49 AM

PHP Code:

$q $db->query_first("SELECT * FROM "TABLE_PREFIX."pbpg_plugin WHERE dir='chess'"); 
$q2 $db->query("SELECT * FROM ".TABLE_PREFIX."pbpg_pluginconfig WHERE pbpg_pluginid = $q[pbpg_pluginid]");
while(
$row=$db->fetch_array($q2))
{
    foreach(
$vbulletin->forumcache AS $forum)
    {
        
$test unserialize($forum['pbpg_enabledpluginconfigs']);
        if(isset(
$test[$row['pbpg_pluginconfigid']]))
        {
            
print_cp_message('Error Plugin still in use. Remove all configs using this plugin from forums its enabled in and delete all threads using it before removing the plugin.');
        }
    }
    
$threads $db->query_first("SELECT * FROM ".TABLE_PREFIX."thread WHERE pbpg_pluginconfigid = $row[pbpg_pluginconfigid]");
    if(
is_array($threads))
    {
        
print_cp_message('Error Plugin still in use. Remove all configs using this plugin from forums its enabled in and delete all threads using it before removing the plugin.');
    }

$db->query_write("DELETE FROM ".TABLE_PREFIX."pbpg_pluginconfig WHERE pbpg_pluginid = $q[pbpg_pluginid]");
$db->query_write("DELETE FROM "TABLE_PREFIX."pbpg_plugin WHERE pbpg_pluginid = $q[pbpg_pluginid]"); 

That will do it, however you should remove any configs that use the plugin from the forums you have them enabled in first.

The next version will ship with uninstall code.

Edit: updated with safer uninstall code.

Carnage 01-23-2010 05:36 PM

Uploaded beta 1 of this product.

Most important improvment of note is a substantial improvment to the user interface; more information has been added to the default display and the thread starter gets a form to set game options untill the first move is posted.

For anyone who is interested; i've also begun work on a tournaments mod which will be released soon. (At the point at which it first becomes usable)

Carnage 01-26-2010 08:00 PM

Added some screenshots.

TimberFloorAu 01-29-2010 08:36 PM

All we get is Blank Chess Board

TimberFloorAu 01-29-2010 08:38 PM

Your plugin image path is wrong:

http://www.yobromofo.com/pbpg_plugin.../images/bR.gif

Should be

http://www.yobromofo.com/forum/pbpg_.../images/bR.gif

TimberFloorAu 01-29-2010 09:06 PM

Also in chess product, all gif paths are wrong. In our case I have had to prefix with /forum


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