vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Turtle Dollars (includes addons) (https://vborg.vbsupport.ru/showthread.php?t=50222)

DPoole 03-18-2003 02:35 AM

nothing it does nothing

I click start installtion and it does nothing when i click it
any reason for this ?

I have now even upgraded to 2.3 as well

SO a text version would be appreciated then i can do it manual

filburt1 03-18-2003 01:50 PM

A text version is next to impossible the way the setup works.

I'm going to debug this on a completely different server (my laptop) right now although I believe it still works perfectly. Make sure you're running at least PHP 4.2.0.

filburt1 03-18-2003 01:54 PM

The installer works absolutely perfectly for me. I tested both of these on PHP 4.3.0 (this most recently on a Mac) with vB 2.3.0 RC2 or RC3. Personally I bet the problem is on your side because every computer I've tried the install script on works.
Quote:

"Turtle Dollars" Installation Script
Script based on filburt1's standard install script. Back up your database and files before installing this hack/mod.
This script runs queries to help install "Turtle Dollars." This script can only create templates and run queries. It does not touch files or existing templates.

Creating Settings...
Getting current highest + 1 displayorder for settings...
query_first: SELECT MAX(settinggroupid) + 1 AS newdisplayorder FROM setting
Creating settings group...
query: INSERT INTO settinggroup (title, displayorder) VALUES ("Turtle Dollars", 33)
Getting newly created settinggroupid...
Writing script to create individual settings...
Caching highest settingid + 1...
query_first: SELECT MAX(settingid) + 1 AS sidplusone FROM setting
Creating setting "Default dollar allocation to new members"...
query: INSERT INTO setting (settinggroupid, title, varname, value, description, optioncode, displayorder)
VALUES (33,
"Default dollar allocation to new members",
"tddefault",
"20",
"Enter a number of dollars that you want new members to get by default. Don\'t use decimal or negative numbers. This only affects new registrations.",
"",
0)

Creating setting "Allow users to revoke dollar offers after no replies?"...
query: INSERT INTO setting (settinggroupid, title, varname, value, description, optioncode, displayorder)
VALUES (33,
"Allow users to revoke dollar offers after no replies?",
"tdallowrevoke",
"1",
"If a user posts a thread with an offer attached to it but nobody replies, allow them to retract their offer? Moderators,
supermoderators, and administrators can always retract offers, including other users\' offers.",
"yesno",
1)

Creating setting "Minimum dollar offer"...
query: INSERT INTO setting (settinggroupid, title, varname, value, description, optioncode, displayorder)
VALUES (33,
"Minimum dollar offer",
"tdmin",
"1",
"Minimum dollar amount required to make an offer",
"",
2)

Creating setting "Maximum dollar offer"...
query: INSERT INTO setting (settinggroupid, title, varname, value, description, optioncode, displayorder)
VALUES (33,
"Maximum dollar offer",
"tdmax",
"20",
"Maximum dollar amount required to make an offer (granted the user has that many dollars to begin with)",
"",
3)

Running extra queries...
Running extra query 1 of 3...
query: ALTER TABLE user ADD dollars INT(10) UNSIGNED DEFAULT 20 NOT NULL AFTER posts
Running extra query 2 of 3...
query: ALTER TABLE thread ADD dollaroffer INT(10) UNSIGNED NOT NULL AFTER open
Running extra query 3 of 3...
query: ALTER TABLE forum ADD allowdollaroffers TINYINT(4) DEFAULT 1 NOT NULL AFTER allowposting
Creating custom templates...
Caching directory contents...
Caching custom template "error_baddollaroffer" (1 of 10)...
Caching custom template "error_badfunds" (2 of 10)...
Caching custom template "error_cantawardself" (3 of 10)...
Caching custom template "error_nodollarsoffered" (4 of 10)...
Caching custom template "newthread_makedollaroffer" (5 of 10)...
Caching custom template "postbit_awardbutton" (6 of 10)...
Caching custom template "redirect_dollaroffercancelled" (7 of 10)...
Caching custom template "redirect_transfercomplete" (8 of 10)...
Caching custom template "showthread_dollaroffer" (9 of 10)...
Caching custom template "showthread_dollaroffer_cancel" (10 of 10)...
Getting templatesetid for styleid 6...
query_first: SELECT templatesetid FROM style WHERE styleid = 6
Adding custom template "error_baddollaroffer" (1 of 10; 602 chars)...
query: INSERT INTO template (templatesetid, title, template) VALUES (6, "error_baddollaroffer", "Your dollar offer of $$dollaroffer cannot be accepted for one or more of the following reasons:

Low funds: you have $$bbuserinfo[dollars] in your account and you offered $$dollaroffer


Too low of an offer: the minimum allowed offer is $$tdmin


Too high of an offer: the maximum allowed offer is $$tdmax


Forum not accepting dollar offers: this forum may not accept dollar offers


Please use your browser\'s "Back" button to remedy the problem. If you do not want to offer any dollars, leave the Dollar Offer field blank.")
Adding custom template "error_badfunds" (2 of 10; 268 chars)...
query: INSERT INTO template (templatesetid, title, template) VALUES (6, "error_badfunds", "You do not have enough dollars to offer the required award.

You have: $$bbuserinfo[dollars] in your profile


Thread requires: $$thread[dollaroffer] award


Try to get more awards so you can "afford" the award yourself.")
Adding custom template "error_cantawardself" (3 of 10; 38 chars)...
query: INSERT INTO template (templatesetid, title, template) VALUES (6, "error_cantawardself", "You cannot offer an award to yourself.")
Adding custom template "error_nodollarsoffered" (4 of 10; 75 chars)...
query: INSERT INTO template (templatesetid, title, template) VALUES (6, "error_nodollarsoffered", "The specified thread does not exist or its starter did not offer any award.")
Adding custom template "newthread_makedollaroffer" (5 of 10; 420 chars)...
query: INSERT INTO template (templatesetid, title, template) VALUES (6, "newthread_makedollaroffer", "

This forum allows you to make dollar offers!
You have $$bbuserinfo[dollars] in your "account." The administrator has required that if you choose to make a dollar offer, it must be from $$tdmin to $$tdmax (inclusive).

Your dollar offer (leave blank for no offer): ")
Adding custom template "postbit_awardbutton" (6 of 10; 132 chars)...
query: INSERT INTO template (templatesetid, title, template) VALUES (6, "postbit_awardbutton", "")
Adding custom template "redirect_dollaroffercancelled" (7 of 10; 93 chars)...
query: INSERT INTO template (templatesetid, title, template) VALUES (6, "redirect_dollaroffercancelled", "The dollar offer for the thread has been cancelled. You will now be taken back to the thread.")
Adding custom template "redirect_transfercomplete" (8 of 10; 175 chars)...
query: INSERT INTO template (templatesetid, title, template) VALUES (6, "redirect_transfercomplete", "You have successfully transferred $$thread[dollaroffer] from your previous "account" of $$bbuserinfo[dollars] to the requested user. Taking you back to the thread...")
Adding custom template "showthread_dollaroffer" (9 of 10; 786 chars)...
query: INSERT INTO template (templatesetid, title, template) VALUES (6, "showthread_dollaroffer", "






$thread[postusername] has offered $$thread[dollaroffer] in this thread!
Typically, the "money" will be rewarded to the person who provides the best answer to the question in the post below. However it is up to the thread starter to how it is distributed.

$canceldollaroffer




")
Adding custom template "showthread_dollaroffer_cancel" (10 of 10; 291 chars)...
query: INSERT INTO template (templatesetid, title, template) VALUES (6, "showthread_dollaroffer_cancel", "

If you would like to retract the offer of $$thread[dollaroffer], click the link below. You cannot offer dollars once you cancel the offer!

Cancel Dollar Offer")

All done! Errors are highlighted above, if any occured. Now:

Delete this install script (/~filburt1/testvb/admin/install_turtledollars.php)


Delete the directory "templates_turtledollars" if you chose to install custom templates


Continue with the included installation instructions

djr 03-18-2003 02:41 PM

Filburt,

Love the concept! Not yet installed, because I've two questions:
  • Is there a timer for the offer available? (see explanation below)
  • Is there a Top 10 page available in the hack?
Reason for item 1 is my main concern authors will wait forever for an even better answer to appear than one which was probably already posted.

- djr

filburt1 03-18-2003 03:57 PM

1. No
2. No, but I can easily write one in less than an hour.

filburt1 03-18-2003 06:49 PM

This displays a "Top 10" list for who has the most Turtle Dollars, along with some statistics about outstanding threads and dollar distribution among members.

You must have installed the Turtle Dollars hack for this to work.

filburt1 03-18-2003 06:50 PM

Screenshot:

N9ne 03-18-2003 06:53 PM

Nice addon, keep up the good work filby :).

Brad 03-18-2003 08:23 PM

Hey all, im editing the scripts so they will work with the store hack (as requested), ill try to have it out by tonight ;).

Brad 03-18-2003 08:58 PM

Add-on: Store hack Intergration.

Ive edited the scripts/template included in the "Turtle Dollars" zip file to work with the ever propular store hack.

Both files (minus the install script) where edited for the intergration, also a number of templates where changed and of course the "editing files" part of the readme.txt was changed.

You will need to have the store hack fully working before trying to install this.

If you already have both turtle dollars and the store hack installed but wish to use this, i sugest that you uninstall turtle dollars then re-install it using the file below.

This has not been tested! so ill mark it as unstable until someone trys it out and gets back to me.

enjoy and report bugs please :bunny:

filburt1 03-18-2003 09:15 PM

Also note that I don't support this version, only mine (technically I don't support that one either but I'll try).

squawell 03-23-2003 07:33 PM

find a problem...

the button did not show up??

i already check the code and template all fine....so what cause

that?....

filburt1 03-23-2003 07:36 PM

Try resubmitting the Options.

squawell 03-23-2003 07:48 PM

Quote:

Today at 05:36 AM filburt1 said this in Post #53
Try resubmitting the Options.
same~~~still not show up.......:(:(

filburt1 03-23-2003 07:56 PM

What's the URL to your forums?

squawell 03-23-2003 08:10 PM

Quote:

Today at 05:56 AM filburt1 said this in Post #55
What's the URL to your forums?
i dont know u can read chinses word or not so i give u the link this forum allow guest po post......

and i found another problem i already use this hack
https://vborg.vbsupport.ru/showthrea...=custom+prefix

for example:
in threadlist the $thread[prefix] will show<test>(this is my setting) but when i po a new thread and also set the dolloar

it replace the <test> to <dollar's number> how to fix that?

thankz~~

filburt1 03-23-2003 08:12 PM

I designed this to only work with stock vB, so use it at your own risk.

squawell 03-23-2003 08:22 PM

Quote:

Today at 06:12 AM filburt1 said this in Post #57
I designed this to only work with stock vB, so use it at your own risk.
so now it look cant work in my forum....how should i uninstall??

use the same install file or??

filburt1 03-23-2003 08:23 PM

Use the installer's advanced options to get rid of the settinggroup.

squawell 03-23-2003 08:28 PM

Quote:

Today at 06:23 AM filburt1 said this in Post #59
Use the installer's advanced options to get rid of the settinggroup.
filburt1...appreciate ur help....thankz!!

gwhooooey 04-12-2003 03:19 AM

Bumping this up a bit, hehe

Um how can I get it so users points go up per post?

gwhooooey 04-13-2003 07:15 AM

....anyone? If not, i'm gonna install summit else

cinq 04-24-2003 02:57 AM

Outta curiosity , anyone here installed this on 2.2.9 and got it working ?

proxyMX 04-24-2003 05:26 AM

Can you help me, I installed this on a skinned forum and it didnt display, is there any points system that WILL work on a skinned forum

proxyMX 04-24-2003 08:48 PM

Ok, this version DOSENT work properly with Version 2.3.0
it ONLY allows you to donate dollars into the accounts via the admin panel

It DOES NOT let other users post dollar paying threads OR pay dollars to other members

I modified my postbit to show how many dollars a user has, I dont really need dollar transfers although if i get an agent system i will, i hope Fillburt1 can update this for 2.3.0

filburt1 04-24-2003 08:51 PM

I designed this for 2.3.0 and it works flawlessly on my forums.

proxyMX 04-24-2003 09:01 PM

check out my test forums
it DOSENT work properly there
ive had to modify the post bit and eveything

login with test and pw test at sma.custom-hosting.net/forums

Koutaru 04-24-2003 09:06 PM

has anyone tried the store integration?? I'd love to know if it works or not ;)

proxyMX 04-24-2003 09:06 PM

p.s its wierd because it worked on it when i installed it before, i dunno whats up with it this time

proxyMX 04-24-2003 09:21 PM

any help here, fil

proxyMX 04-24-2003 09:46 PM

god, i guess i will have to just go along with the crapped up version

filburt1 04-24-2003 09:58 PM

Quote:

Today at 05:21 PM proxyMX said this in Post #73
any help here, fil
I've told you all I know. Also I don't officially support this hack, anyway.

gengar003 04-24-2003 10:03 PM

I have not installed this yet, but i gather that it can be integrated w/ Lesane's store hack, and, since that's the points system I use, I will definitely be using this. Thanx.

XP Kid 86 04-25-2003 01:17 AM

ok i just installed this on a clean verson of vB .. minous some tempalte edits i did .. and i did everything word for word and it totaly messed my forums .. A .. it gives me a MYSQL error and B it just doesnt work .. and i cant fix a couple thigns .. i have a due date of May 1st .. and i really cant re-install again .. i mean if you could help me out over PM or AIM/MSN PM me .. and if you cant reply or whatever ..

my forum link but u cant registar .. well i guess u can but i would rather u use my login .. hence the PM .. so tell me what ya can do

http://www.expeditiousworld.com/forum

proxyMX 04-25-2003 01:35 AM

well its screwed my forums and since i DONT have time to try and do it AGAIN im having to give up

filburt1 04-25-2003 01:36 AM

If you were at all specific I could see what the problem was...

proxyMX 04-26-2003 12:50 AM

Basically, the dollars features are only half working, user interaction is non existent, and its not displayed in the postbit

By the way, how do you get peoples dollars displayed in the postbit

proxyMX 04-26-2003 01:32 AM

great now im getting this error
Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: UPDATE forum
SET
styleid='1', title='HM Help', description='Having Errors? Talent File Problems, come in here and request help',active='1', displayorder='3', parentid='3', parentlist='6,3,-1',
allowposting='1', cancontainthreads='1', daysprune='30',
newpostemail='', newthreademail='',
moderatenew='0', allowhtml='1', allowbbcode='1',
allowimages='1', allowsmilies='1', allowicons='1',
styleoverride='0', allowratings='1', countposts='1',
moderateattach='0', allowdollaroffers = 1

'
WHERE forumid='6'
mysql error: You have an error in your SQL syntax near ''
WHERE forumid='6'' at line 11

mysql error number: 1064

Date: Friday 25th of April 2003 10:31:18 PM
Script: http://www.sma.custom-hosting.net/fo...dmin/forum.php
Referer: http://www.sma.custom-hosting.net/fo...edit&forumid=6

when i try and modify any of my forums at all

filburt1 04-26-2003 01:34 AM

All I can say is if you fully follow the instructions on a stock 2.3.0 vBulletin, you will not have any of these problems.

There was a bug with my install script at one point involving admin CP option creations, but this is not related.

proxyMX 04-26-2003 04:20 AM

well wtf is, this has not only flung my forums into dissarray, but its also taken up around 3 of my exam revision days trying to sort it all out im re installing my forums and the hack one last time
and if it dosent work then theres DEFINATELY nothing wrong with my forums


All times are GMT. The time now is 04:21 AM.

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.01358 seconds
  • Memory Usage 1,834KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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