vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBTripleTriad (https://vborg.vbsupport.ru/showthread.php?t=93123)

Cyricx 11-04-2005 11:45 AM

How goes it Dark? Need a beta tester for the 3.5 version? :)

DS MrSinister 11-23-2005 03:54 AM

how close are you beening done with this bro?

PixelFx 11-23-2005 07:18 AM

Quote:

Originally Posted by DS MrSinister
how close are you beening done with this bro?

he said he had some time to work on his scripts next month, he's been pretty busy with school. but don't quote me

Datenpapst 11-27-2005 12:02 PM

I have got one question about your points system. I first thought that 300 points for registering are enough but now I think 3000 are good. I changed it in the Database but its not changing in my Profil for example. What shall I do, so all Users have 3000 Points at the startup? :(

/e: Also have Problems with the update to 2.6:

Database error in vBulletin 3.0.3:

Invalid SQL: ALTER TABLE triad_options DROP uc_change, DROP uc_changecost, DROP uc_cost, DROP usercards
mysql error: Can't DROP 'uc_change'. Check that column/key exists

mysql error number: 1091

Date: Sunday 27th of November 2005 03:04:03 PM
Script: http://www.c-arena.com/vbulletin/adm...d_upgrade1.php
Referer:
Username: XXXX
IP Address: 81.XXX.1.XX

Zidane007nl 12-15-2005 08:40 PM

I wonder how far you are with upgrading vBTripleTriad to be compatible with vB 3.5.x. I wanna upgrade to vB 3.5.x after your hack (and RPG Integration) has been finished.

Quote:

Originally Posted by Datenpapst
I have got one question about your points system. I first thought that 300 points for registering are enough but now I think 3000 are good. I changed it in the Database but its not changing in my Profil for example. What shall I do, so all Users have 3000 Points at the startup? :(

If you have phpMyAdmin you can change the default value of uttpoints (it's in the user table). If you change it to 3000, newly registered users will start with 3000.

Darkwaltz4 12-16-2005 01:14 AM

Sorry for the delays, ive been horrendously busy, and i got a job :-p pays $7.75 an hour (yay)

Yes, Datenpapst has been helped already with his problem :-p i assume through PMs

As for updating, im on vacation as of now :-p for an entire month too! (from school i mean) and yes, im going to spend the old school/homework time working on many overdue scripts :-p this being one of them....

so with luck, well see some new versions and new scripts out of me in time for christmas :)

thanks everyone for your patience and understanding!

Notes: as some of you have realized, you generally get faster service by contacting me directly, either by PM, or email :-p (both accessible by links right over there *points to postbit*)

Cyricx 12-19-2005 03:48 PM

Awesome news!! Can't wait :)

Grats on the job :)

Cyricx 01-12-2006 05:01 PM

/me peeks around...

Cyricx 03-14-2006 08:45 PM

Got permission from Dark :)

I'm going to try to port his current code over to 3.5

[high]* Cyricx crosses his fingers!
[/high]

If I get it done, I'll post it in this thread :)

DS MrSinister 03-19-2006 01:06 PM

Quote:

Originally Posted by Cyricx
Got permission from Dark :)

I'm going to try to port his current code over to 3.5

[high]* Cyricx crosses his fingers!
[/high]

If I get it done, I'll post it in this thread :)

I will cross both fingers and toes :cool: .

:bunny:

Zidane007nl 03-20-2006 08:48 PM

Cool, I can't wait. :)
Good luck with converting it.

Cyricx 03-21-2006 06:46 PM

So I'm pretty freaking close to having this done. A few of my users are going to help me test it all tomorrow and make sure I didn't fubar any of the error messages because the format all changed with the version switch....

However..

I see one major problem with people installing this..

And that is people with info already in store. If your up for deleting what you have already there and starting from scratch, rock on.. otherwise...

The problem will be with a few things...

The error phrases needed to be vastly redone with the new {1} {2} etc format instead of hardcoded variables in the phrases...

Second and truly the biggest problem, is that the triad_user populates from the user table, matching up user ids, so pretty much anyone who has joined the site since you upgraded to 3.5 and lost the use of this hack, would NOT be in the triad_user table...

I'll try to come up with an uninstall script, it shouldn't be too rough, just mimic his uninstall script.

However, as far as how to do an upgrade from 3.0.8... I've got no clue. I could do it all except for how to populate that damn user table with the missing userids :(

Anyone have any ideas on how to do that? if so, contact me. Otherwise I should (stress should... have a real busy home life right now :) ) have a 3.5 compatable version out by Friday.

Cyricx 03-21-2006 06:49 PM

O and with this version I'm also going to toss in a usergroup permission thing in there, thanks to Andreas how-tos :)

It'll be just a global can access switch. Not going to get tooo complex with it yet since it's not my own hack :)

DS MrSinister 03-22-2006 04:20 PM

its all good. just would like to see it work once again. :)

thanks for doing this.

Cyricx 03-23-2006 08:41 PM

Well.. I got it working and bug free as far as me and my handful of testers can see...

Problem I still have is I see noway that I know of for how to make a script to upgrade it.

Problem being the user table missing all the userids :(

I'm gonna run it by one of my php/mysql buddies and see if he can help me figure out a way before I release it.

Cyricx 03-24-2006 04:53 PM

My brain hurts :)


Okay.... lotta fiddling and fedabbling around... I have Dark's permission to post this so...


WARNING INSTALLING THIS VERSION WILL UNINSTALL ALL OF YOUR OLD VERSIONS INFO INCLUDING WHAT USERS HAVE WHAT CARDS!!!!

Okay, now that the warning is done....

Attached is the zip, don't forget to grab the zip of extra images from the second post in this thread. All the bugs I could find have been sufficiently whipped to submission.. hopefully you all won't give me headaches with problems installing this ;)

Enjoy!

Cyricx 03-24-2006 06:37 PM

bah! bug found in deleteing matches from the admincp.. fails on the extract cards function. I'm trying to fix it now =/

hobbes747 03-24-2006 09:15 PM

I know you're working on a bug, but I'm too excited about this. :nervous:

I'm having a whole ton of problems with the sql part of the product. :surprised:

Edit: Might want to remind people to set the permissions.
There aren't enough arguments for line 405 in triad_main.php for the construct_page_nav function.

DS MrSinister 03-27-2006 04:31 PM

Cyricx have you fix the bug yet?

forte 03-27-2006 06:46 PM

Any plan to separate the 3.5.x hack from the 3.0.x? Anyways, I'll see if I can find any other bug.

Error when installing product:
Code:

Parse error: parse error, unexpected $ in /home/xxxxx/public_html/forums/admincp/plugin.php(1305) : eval()'d code on line 253

Zidane007nl 03-27-2006 08:19 PM

Thanks Cyricx for releasing this version. I'll try to install it asap.

Has there changed much to the SQL tables? Cause I want to put all the users (and matches maybe too) back in place with a backup.

Zidane007nl 03-28-2006 10:11 AM

Just installed it. Had the same error as forte when importing the product.

But when I access triad_main.php I get the following error:
Quote:

Fatal error: Cannot redeclare sendpm() (previously declared in /xxx/xxxxxxxx/forums/includes/functions_warning.php:23) in /xxx/xxxxxxxx/forums/includes/functions_triad.php on line 286
I think the Advanced Warning System and this hack collides with each other.

Cyricx 03-28-2006 06:56 PM

Ack, they must be trying to use a function named the same thing...

I'll try to take a look at this soon.

No guarantees.. I'm good at tweaking code, but suck outright when it comes to writing something from scratch hehe.

Looks like its the sendpm function. I had started to convert the vbtripletriad pm system over to using the pm class manager, but had discounted it due to time constraints.

That may be the issue. I'm going to load up a test site from scratch and test uploading the product without any other hacks installed there. If I don't get any errors looks like it'll be an issue with those two working together.

Forte, do you also have the advanced warning hack installed?

After I locate where the issue with the product install is at, that's when I'll start working on the pm system.

No ETA. Closing on a house and looking for a house this week, so RL is balls to the wall :)

forte 03-28-2006 07:01 PM

I installed it in a newly installed vbulletin, same problem.

DS MrSinister 03-28-2006 09:59 PM

to make this work i had to had to run this
Code:

ALTER TABLE usergroup ADD tripletriadpermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ;
and also disable Advanced Warning System hack.

only bug i see is this. i get this when i browse matches.

Code:

Warning: Missing argument 3 for construct_page_nav() in /includes/functions.php on line 1840

Warning: Missing argument 4 for construct_page_nav() in /includes/functions.php on line 1840

all my data is still there.

if you like to check it out

http://www.sinisterslair.com

test
test

Griever_Reborn 04-02-2006 07:34 AM

I downloaded the 2.7 version for vB3.5

After uploading and installing TT, I went to Triple Triad in my admincp.

I get the following error:

Database error in vBulletin 3.5.4:
--------------------------------------------------------------------------
Invalid SQL:
SELECT * FROM sm_triad_options;

MySQL Error : Table 'XX_forum.XX_triad_options' does not exist
Error Number : 1146
Date : Sunday, April 2nd 2006 @ 10:14:43 AM
Script : http://forum.MYDOMAIN.com/admincp/tr...do=editoptions
Referrer : http://forum.MYDOMAIN.com/admincp/index.php?do=nav

--------------------------------------------------------------------------
*"MYDOMAIN" and "XX" are edited in post

So, what should I do?

Griever_Reborn 04-03-2006 05:08 PM

Sorry for double-post, but I have to refresh for people to see... no one answered in more than 24 hours

DS MrSinister 04-04-2006 03:58 AM

is this a upgrade or fresh install?

Griever_Reborn 04-04-2006 02:03 PM

Quote:

Originally Posted by DS MrSinister
is this a upgrade or fresh install?

Fresh install.

DS MrSinister 04-04-2006 05:40 PM

see if this helps you.. i have upload zip tripletriad tables.sql file. not sure if this going to work or not.

Griever_Reborn 04-04-2006 08:39 PM

Quote:

Originally Posted by DS MrSinister
see if this helps you.. i have upload zip tripletriad tables.sql file. not sure if this going to work or not.

sorry, but what exactly do I have to do with this... (sorry... I'm a noob :/ )
I mean.... where to save/upload/extract this?

forte 04-04-2006 08:43 PM

Just a note, I somehow to get it working but there are still a few problems like, it won't notice how much money you have. Cyrix, it keeps telling me that I have 0 points why I have a LOT. Can you check the problem?

DS MrSinister 04-05-2006 02:25 AM

Quote:

Originally Posted by Griever_Reborn
sorry, but what exactly do I have to do with this... (sorry... I'm a noob :/ )
I mean.... where to save/upload/extract this?



log into your phpmyadmin and run it from there. import

Griever_Reborn 04-05-2006 10:18 AM

Quote:

Originally Posted by DS MrSinister
log into your phpmyadmin and run it from there. import

It worked in some way, thanks.
I'm now one step closer. The I can change the options in the Triple Triad manager, but when I go to Usergroup options, and give a group a permission to view the Triple Triad on the forum, I get another error.
I need to fix something in the SQL script

DS MrSinister 04-05-2006 02:57 PM

Quote:

Originally Posted by Griever_Reborn
It worked in some way, thanks.
I'm now one step closer. The I can change the options in the Triple Triad manager, but when I go to Usergroup options, and give a group a permission to view the Triple Triad on the forum, I get another error.
I need to fix something in the SQL script

need to run this in phpmyadmin.

Code:

ALTER TABLE usergroup ADD tripletriadpermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ;

Replicators 04-06-2006 09:55 AM

It would be nice if this was successfully ported to 3.5.x as most people are using it now, and put in the 3.5.x forum.

forte 04-06-2006 10:00 AM

It is successfully ported, only problem is that Cyrix is too busy. And for the others, I have fixed the product, only problem is that Cyrix has the permission, not me...

Replicators 04-06-2006 10:51 AM

Well i just installed and it wouldn't work, it don't look like it's properly configured for Table Prefexes.

forte 04-06-2006 11:08 AM

Try the attached product. I think Cyrix won't mind.

Replicators 04-06-2006 11:45 AM

Nope, still didn't work, gives me this when i go into triad_main.php

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

                SELECT sf_triad_user.*,
                        user.vbbux AS points
                FROM sf_triad_user
                LEFT JOIN user ON user.userid = sf_triad_user.userid
                WHERE sf_triad_user.userid = 1;

MySQL Error  : Table 'StarFyrez.user' doesn't exist
Error Number : 1146
Date        : Thursday, April 6th 2006 @ 05:42:41 AM
Script      : http://www.*****.com/triad_main.php?
Referrer    : http://www.*****.com/forum.php
IP Address  : **.**.***.***
Username    : Replicators
Classname    : vb_database

I also get this at the very top..

Code:

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of elemize(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /***/**/*****/htdocs/includes/functions_triad.php on line 917


All times are GMT. The time now is 06:26 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.01391 seconds
  • Memory Usage 1,832KB
  • 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
  • (6)bbcode_code_printable
  • (9)bbcode_quote_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
  • (40)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