vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   uCash & uShop old support and thank you thread (https://vborg.vbsupport.ru/showthread.php?t=73736)

Reeve of shinra 07-25-2004 04:52 PM

hmmm I am trying to copy the change usergroup item and I get this error:

The usergroup I am looking to add is 36. I tried it as "36" and as "36,"

Quote:

Database error in vBulletin 3.0.3:

Invalid SQL:
### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO utt_store_asvs
(varname, title, desc, optioncode, value, actionid)
VALUES
('pju', 'Publically Joinable Usergroups?', 'Enter the usergroupids of the usergroups that users can buy access to in this action. Seperate ids by commas.', '', '36,', '1000000011')
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 'desc, optioncode, value, actionid)
VALUES
('pju', 'Publically

mysql error number: 1064

Date: Sunday 25th of July 2004 05:59:49 PM
Script: http://shinraonline.com/board/admincp/uttstoreadmin.php
Referer: http://shinraonline.com/board/adminc...actionid=11&s=
Username: Reeve of the Turks
IP Address: xx.xxx.xxx.xxx
edit: I dropped the utt_store_avs table from the database and went back through the install (which again loops on me) but I still get the above error when trying ot copy an action.

LilPimp 07-25-2004 07:51 PM

Just wondering. Is there a bank with this hack?

Zachery 07-25-2004 10:45 PM

Quote:

Originally Posted by LilPimp
Just wondering. Is there a bank with this hack?

Standard Feature.

Zelda-King 07-25-2004 11:09 PM

Thanks! Nice smooth upgrade (vB 3.0.1).

The template uttstore_inputs_input isn't cached in ushop.php.

Cloudrunner 07-25-2004 11:22 PM

Real quick, is there a way to have a random event happen that gives any user online X amount of points per event?

Thanks!

Zelda-King 07-27-2004 08:23 AM

Actually there're quite a lot of uncached templates;

Donate - uttstore_inputs_input (2)
Change Custom Title - uttstore_inputs_input (1)
Change Other User's Custom Title - uttstore_inputs_input (2)
Change Username - uttstore_inputs_input (1)
Glowing Username - uttstore_inputs_input (1)
Colored Username - uttstore_inputs_input (1)
Bank - uttstore_inputs_link (2), uttstore_inputs_text (1)
Sticky Thread - uttstore_inputs_input (1)
Thief - uttstore_inputs_input (2)
Give Forum Access - uttstore_inputs_dropdown (1), uttstore_inputs_input (1)
Deny Forum Access - uttstore_inputs_dropdown (1), uttstore_inputs_input (1)
Buy Forum Access - uttstore_inputs_dropdown (1)

I have the Buy Password disabled so that's untested.

Zachery 07-27-2004 01:33 PM

Quote:

Originally Posted by Zelda-King
Actually there're quite a lot of uncached templates;

Donate - uttstore_inputs_input (2)
Change Custom Title - uttstore_inputs_input (1)
Change Other User's Custom Title - uttstore_inputs_input (2)
Change Username - uttstore_inputs_input (1)
Glowing Username - uttstore_inputs_input (1)
Colored Username - uttstore_inputs_input (1)
Bank - uttstore_inputs_link (2), uttstore_inputs_text (1)
Sticky Thread - uttstore_inputs_input (1)
Thief - uttstore_inputs_input (2)
Give Forum Access - uttstore_inputs_dropdown (1), uttstore_inputs_input (1)
Deny Forum Access - uttstore_inputs_dropdown (1), uttstore_inputs_input (1)
Buy Forum Access - uttstore_inputs_dropdown (1)

I have the Buy Password disabled so that's untested.

In ushop.php find (around line 35)

PHP Code:

        'uttstore_nav_actionbits' 

change too

PHP Code:

        'uttstore_nav_actionbits',
'uttstore_inputs_dropdown',
'uttstore_inputs_input' 

Not the proper way to handle it, but it should work.

Reeve of shinra 07-27-2004 02:24 PM

How should I try to handle the issue I ran into? Should I uninstall and re-install it?

Zachery 07-27-2004 07:39 PM

Quote:

Originally Posted by Reeve of shinra
How should I try to handle the issue I ran into? Should I uninstall and re-install it?

You'll Need to wait for Link to respond as my php/sql is bad :p

TRStealth 07-27-2004 10:14 PM

I have most things working fine, except that for some reason the Shop link in the navbar template won't create the dropdown.

Can anyone help?

jcr 07-28-2004 08:04 AM

Let me see if I get this straight. If I upgrade to 0.95 , all my users will loose their points and actions bought?

Intex 07-28-2004 10:27 AM

Seems to be a problem with the 'Change Your User Title' and 'Change Others Customer User Title' feature.

You can select 'Change Others Users Custom Title' and put your own name in and it will allow you to do it. If you've set the cost of changing your own user title to 500.00 and anothers to 25.00, then you can just use the 'Change Others' to change your own at a reduced price.

I've put the price low for changing other users title so that people can mess about with others and they can't change it back easily because it costs more. With the way it works at the moment, people have figured out they can just use 'change others' item.

Ideally when using the 'Change Others Custom Title', it should exclude yourself.

YamaMotoYama 07-28-2004 03:07 PM

Quote:

Originally Posted by TRStealth
I have most things working fine, except that for some reason the Shop link in the navbar template won't create the dropdown.
Can anyone help?

I'm having the same issue. Several others made posts about this same problem as well. It hasnt been addressed yet.

weaver 07-28-2004 06:53 PM

I upgraded from 3.0.0 today to 3.0.3 and now am upgrading ushop. The only thing I ran into was the upgrade looping back to the beginning once it was finished. Whenever I choose something from the drop down menu for the shop I get a blank white page.

Zachery 07-28-2004 07:13 PM

Quote:

Originally Posted by snobbymom
I upgraded from 3.0.0 today to 3.0.3 and now am upgrading ushop. The only thing I ran into was the upgrade looping back to the beginning once it was finished. Whenever I choose something from the drop down menu for the shop I get a blank white page.

Did you reinstall the templates?

weaver 07-28-2004 07:30 PM

No, I reverted all of the utt_store templates earlier today when I was upgrading the shop hack. But after I upgraded vb to 3.0.3 I haven't done anything with the templates. What should I do?

Zachery 07-29-2004 12:32 AM

Quote:

Originally Posted by snobbymom
No, I reverted all of the utt_store templates earlier today when I was upgrading the shop hack. But after I upgraded vb to 3.0.3 I haven't done anything with the templates. What should I do?

Reinstall teh templates....

weaver 07-29-2004 12:47 AM

How do I add just the utt_store templates?

tcghost 07-29-2004 08:07 PM

I found a fix for all the people having problems with the shop menu coming up...

search for
Code:

        </div>
        <!-- / user cp tools menu -->

remove it, and place it above
Code:

<!-- shop menu -->
this is after you install the mod

TRStealth 07-29-2004 09:38 PM

Quote:

Originally Posted by tcghost
I found a fix for all the people having problems with the shop menu coming up...

search for
Code:

        </div>
        <!-- / user cp tools menu -->

remove it, and place it above
Code:

<!-- shop menu -->
this is after you install the mod

Thank you, this does indeed fix the problem. :)

TRStealth 07-30-2004 04:20 AM

I just noticed another problem, some people in a specific usergroup can't use the shop. They get a 'No action found...' error. I thought this might be a 'feature' but I can't seem to find an option to allow/disallow shop access based on usergroup.

Zachery 07-30-2004 05:30 AM

Quote:

Originally Posted by TRStealth
I just noticed another problem, some people in a specific usergroup can't use the shop. They get a 'No action found...' error. I thought this might be a 'feature' but I can't seem to find an option to allow/disallow shop access based on usergroup.

Its per action, there is a list of usergroups which can use it.

Dynex? 07-30-2004 11:13 AM

i have a error in functions.php

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/jeremy/public_html/board/includes/functions.php on line 1893

Find: $user['musername'] = $usergroupcache["$displaygroupid"]['opentag'] . $username . $usergroupcache["$displaygroupid"]['closetag'];

Replace With:// ## <ucs>
$user['musername'] = $username;
($user['uttstore_italicsusername'] != '0' && $user['uttstore_italicsusername'] != '' ? $user['musername'] = "<i>" . $user['musername'] . "</i>" : "");
($user['uttstore_boldusername'] != '0' && $user['uttstore_boldusername'] != '' ? $user['musername'] = "<b>" . $user['musername'] . "</b>" : "");
($user['uttstore_usernamecolor'] != '0' && $user['uttstore_usernamecolor'] != '' ? $user['musername'] = "<font color=\"$user[uttstore_usernamecolor]\">" . $user['musername'] . "</font>" : "");
$user['musername'] = $usergroupcache["$displaygroupid"]['opentag'] . $user['musername'] . $usergroupcache["$displaygroupid"]['closetag'];
// ## </ucs>

i have done

weaver 07-30-2004 12:00 PM

Figured out my problem.

Dynex? 07-30-2004 01:54 PM

i have a error in functions.php

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/jeremy/public_html/board/includes/functions.php on line 1893

Find: $user['musername'] = $usergroupcache["$displaygroupid"]['opentag'] . $username . $usergroupcache["$displaygroupid"]['closetag'];

Replace With:// ## <ucs>
$user['musername'] = $username;
($user['uttstore_italicsusername'] != '0' && $user['uttstore_italicsusername'] != '' ? $user['musername'] = "<i>" . $user['musername'] . "</i>" : "");
($user['uttstore_boldusername'] != '0' && $user['uttstore_boldusername'] != '' ? $user['musername'] = "<b>" . $user['musername'] . "</b>" : "");
($user['uttstore_usernamecolor'] != '0' && $user['uttstore_usernamecolor'] != '' ? $user['musername'] = "<font color=\"$user[uttstore_usernamecolor]\">" . $user['musername'] . "</font>" : "");
$user['musername'] = $usergroupcache["$displaygroupid"]['opentag'] . $user['musername'] . $usergroupcache["$displaygroupid"]['closetag'];
// ## </ucs>

i have done

Zachery 07-30-2004 06:17 PM

Quote:

Originally Posted by Dynex?
i have a error in functions.php

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/jeremy/public_html/board/includes/functions.php on line 1893




Find: $user['musername'] = $usergroupcache["$displaygroupid"]['opentag'] . $username . $usergroupcache["$displaygroupid"]['closetag'];





Replace With:// ## <ucs>
$user['musername'] = $username;
($user['uttstore_italicsusername'] != '0' && $user['uttstore_italicsusername'] != '' ? $user['musername'] = "<i>" . $user['musername'] . "</i>" : "");
($user['uttstore_boldusername'] != '0' && $user['uttstore_boldusername'] != '' ? $user['musername'] = "<b>" . $user['musername'] . "</b>" : "");
($user['uttstore_usernamecolor'] != '0' && $user['uttstore_usernamecolor'] != '' ? $user['musername'] = "<font color=\"$user[uttstore_usernamecolor]\">" . $user['musername'] . "</font>" : "");
$user['musername'] = $usergroupcache["$displaygroupid"]['opentag'] . $user['musername'] . $usergroupcache["$displaygroupid"]['closetag'];
// ## </ucs>


i have done

We understood the first time you posted dynex, we have lives outside of vBulletin ;) generaly you should wait about 24 hours.

As i said in your nother thread, start with a fresh copy of functions.php and try again, do not use dreamweaver to edit.

kall 07-30-2004 11:27 PM

Quote:

Originally Posted by TRStealth
Thank you, this does indeed fix the problem. :)

Indeed it does.

Is this only happening to certain people, or is it a matter of needing to update the install to say 'after' instead of 'before' at that point? :)

Warlord 07-30-2004 11:50 PM

Ok, either I'm doing something really wrong or this hack is screwy.

I followed the instructions but it keeps giving database errors for various things.

I installed it, uninstalled it, reinstalled, uninstalled it and did it all over again one more time.

This is a fresh board too. And this the first hack I've tried installing on vb3.

Keeps giving me database errors, when you try to post, unless you disable the points system. (No I don't have any other points system installed)

Gives me a database error when I tried to give myself $$ through the admin cp.

Gave a friend of mine a database error when he tried to register.

Gives an error when you try to view "richest members" too.

Zachery 07-31-2004 01:13 AM

Quote:

Originally Posted by Warlord
Ok, either I'm doing something really wrong or this hack is screwy.

I followed the instructions but it keeps giving database errors for various things.

I installed it, uninstalled it, reinstalled, uninstalled it and did it all over again one more time.

This is a fresh board too. And this the first hack I've tried installing on vb3.

Keeps giving me database errors, when you try to post, unless you disable the points system. (No I don't have any other points system installed)

Gives me a database error when I tried to give myself $$ through the admin cp.

Gave a friend of mine a database error when he tried to register.

Gives an error when you try to view "richest members" too.

Odd, you are using vB3 right? (er looking at your postbit not trying to be funny)

Weve not had any massive problems with it since the early betas (85)

Warlord 07-31-2004 01:45 AM

Yep, this is vb3.. just installed the arcade without a hitch. It works fine.

Zachery 07-31-2004 02:02 AM

Quote:

Originally Posted by Warlord
Yep, this is vb3.. just installed the arcade without a hitch. It works fine.

It seems odd, you did run the installer as well correct? (i am not trying to be stupid or funny)

If you still are having problems drop me a pm please :)

mariannet 07-31-2004 12:24 PM

Can anybody tell me how to get this in the postbit:

Points cash:
Points bank:
Total points (bank and cash):

Warlord 07-31-2004 02:39 PM

yeah, i ran the installer too... pm sent

DannyBoy8406 07-31-2004 02:47 PM

Is there a way to take the admin donate feature and also have it work for mods?

Zachery 07-31-2004 06:02 PM

Quote:

Originally Posted by DannyBoy8406
Is there a way to take the admin donate feature and also have it work for mods?

Edit the action and allow the moderator usergroup, and edit the conditional.



Quote:

Originally Posted by mariannet
Can anybody tell me how to get this in the postbit:



Points cash:

Points bank:

Total points (bank and cash):



ALOT of work

Warlord 07-31-2004 10:52 PM

Anyone feel like helping me out on this one? Like I said I tried it, but I must be doing something wrong (haven't a clue what it is), as no one else is having this problem.

The board is vB 3.0.3 and since trying this hack, I've installed the arcade hack and the mod to change the game screen size, as well as the welcome panel hack.

Anyone want to help me out on this? Thanks in advance. ;)

Edit: I've also installed a portal I almost forgot about.. vBadvanced.

DannyBoy8406 08-01-2004 02:09 AM

Quote:

Originally Posted by Zachery
Edit the action and allow the moderator usergroup, and edit the conditional.

where do I find the conditional to edit it?

Zachery 08-01-2004 04:35 AM

Postbit(_legacy) memberinfo :)

Warlord 08-01-2004 03:42 PM

Ok, well I really want this hack, so I guess I'll take another stab at it.. wish me luck.

*crosses fingers*

*realizes how hard it is to type like that and uncrosses them :p*

Warlord 08-01-2004 05:04 PM

Ok, I finally got the hack installed and everything seems to be working well so far. Not sure what the problem was before, but at least it works now.

I did run into one problem, that I could probably figure out if I put my mind to it, but I've had so many problems with this hack, I don't want to change anything without consulting the professionals, lol.

I have vBadvanced installed and on the homepage, the store dropdown menu is poiniting to the wrong url. It's excluding the forum directory in the url. I can fix this by hardcoding the entire url in the navbar template without messing up the navbar on the forums, right?

All in all, great hack and well worth the trouble I've gone through to install it.

*Clicks install*


All times are GMT. The time now is 06:28 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.03282 seconds
  • Memory Usage 1,848KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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