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)

starfantazy 07-20-2004 02:51 AM

Quote:

Originally Posted by Morgalis
3rd time in a row

I replaced all my files with the ones from 3.03
I reverted the templates - i have no other hacks on my forums
I reuploaded all store files

I carefully went through every edit and uploaded each file as it was completed

I double checked the template edits

My problem is that the link on the navbar does not produce the menu. In fact, when I click on it, aside from nothing happening, if I mouseover any other navbar items with the triangle [including the thread menus] it will open the menu.

So again, I am lost and looking for some help

well, thats what i posted, but was ignored again.... :disappointed:

Henry-RS 07-20-2004 03:03 AM

Is it possible to have something like this, but do it using the Reputation system that comes with vBulletin 3?

Mr. Brian 07-20-2004 03:07 AM

Quote:

Originally Posted by starfantazy
well, thats what i posted, but was ignored again.... :disappointed:

You might have missed out this part:

PHP Code:

<!-- shop menu -->
<
div class="vbmenu_popup" id="shop_menu" style="display:none">
<
table cellpadding="4" cellspacing="1" border="0">
        <
tr><td class="thead"><a href="ushop.php$session[sessionurl]">uShop Menu</a></td></tr>        
        <
tr><td class="vbmenu_option"><a href="ushop.php?do=a&shortname=bank">Bank</a></td></tr>
        <
tr><td class="vbmenu_option"><a href="ushop.php?do=richestusers">Richest Members</a></td></tr>
        <
tr><td class="vbmenu_option"><a href="ushop.php?do=mostsold">Most Sold</a></td></tr>
        <
tr><td class="vbmenu_option"><a href="ushop.php?do=userhistory">History</a></td></tr>
        <
tr><td class="thead"><a href="ushop.php$session[sessionurl]">Actions</a></td></tr>
$ushop_navbar
</table>
    </
div>
    <!-- / 
shop menu --> 

Right after the "<!-- / user cp tools menu -->" .

AN-net 07-20-2004 03:18 AM

nothing shows up under actions in the drop and i have that in my template and i get no actions found when i visit ushop.php anyways.

starfantazy 07-20-2004 03:24 AM

Right after the "<!-- / user cp tools menu -->" . is not what was stated in the instructions, but then i go to do something in the pulldown menu and all it does is say no actions specified

WEForums 07-20-2004 03:38 AM

IF YOU ARE HAVING FOREACH ERRORS IN GLOBAL.PHP OR NO ACTION ERRORS:
First, remove the second global.php edit. Then run ushop.php?rebuildds=1. Then put the edit back in adns ee if that works. If it doesn't work, answer the questions above, if it does, post saying that and let me know in the post if you used the HTL or standalone installer. This will help me diagnose the problem as to whether it is a user error or an error on one of the installers. Thank you.

starfantazy 07-20-2004 03:47 AM

got the shop to work, but since i installed it the img tags arent working any ideas as to what may have gone wrong? and yes the img tags are on

Morgalis 07-20-2004 08:09 AM

Quote:

Originally Posted by Mr. Brian
Right after the "<!-- / user cp tools menu -->" .

In the readme

Find:
Quote:

</div>
<!-- / user cp tools menu -->
</if>
Add Above:
Quote:

<!-- shop menu -->
<div class="vbmenu_popup" id="shop_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead"><a href="ushop.php$session[sessionurl]">uShop Menu</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=a&shortname=bank">Bank</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=richestusers">Richest Members</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=mostsold">Most Sold</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=userhistory">History</a></td></tr>
<if condition="!empty($ushop_navbar)">
<tr><td class="thead"><a href="ushop.php$session[sessionurl]">Actions</a></td></tr>
$ushop_navbar</if>
</table>
</div>
<!-- / shop menu -->
This text is so people can search for the answer to their problem. No menu popup means you need to put this code BELOW in the last step rather than before it as in the readme.

Just update the readme and this problem will go away.

Thanks for your help Brian!

Mr. Brian 07-20-2004 09:45 AM

Quote:

Originally Posted by Morgalis
In the readme

Find:


Add Above:


This text is so people can search for the answer to their problem. No menu popup means you need to put this code BELOW in the last step rather than before it as in the readme.

Just update the readme and this problem will go away.

Thanks for your help Brian!


No prob, Morgalis. :)

MissKalunji 07-20-2004 02:40 PM

Im Running Vb 3.3
Instlaled the ushop 0.95

I used the install.php

And everytime i go on the www.dancehallareaz.com/forum/ushop.php

it tells me no action and last night it was working :surprised:

When i try to pick the action in action manager in my admincp it tells me :

Could not find phrase 'uttstore_saved_values_successfully'.

What should i do? :ermm:

Littlebit 07-20-2004 02:41 PM

hey guys, how can you, as a regular user, remove a bought action, like if you decide you no longer want your username glowing for example?

starfantazy 07-20-2004 07:14 PM

which of the files altered with this hack have anything to do wiht the [img] tags, mine arent working now

Zachery 07-20-2004 08:33 PM

Quote:

Originally Posted by Littlebit
hey guys, how can you, as a regular user, remove a bought action, like if you decide you no longer want your username glowing for example?

Go back to the action there should be a remove link.

Mr. Brian 07-20-2004 08:38 PM

Quote:

Originally Posted by MissKalunji
Im Running Vb 3.3
Instlaled the ushop 0.95

I used the install.php

And everytime i go on the www.dancehallareaz.com/forum/ushop.php

it tells me no action and last night it was working :surprised:

When i try to pick the action in action manager in my admincp it tells me :

Could not find phrase 'uttstore_saved_values_successfully'.

What should i do? :ermm:

Go to: Phrase Manager > add phrase >

Phrase: Type: Control Panel Stop Message
Varname: uttstore_saved_values_successfully
Text: Saved Values Successfully

Hope it helps. :)

Henry-RS 07-21-2004 02:33 AM

Quote:

Originally Posted by MissKalunji
Im Running Vb 3.3
Instlaled the ushop 0.95

I used the install.php

And everytime i go on the www.dancehallareaz.com/forum/ushop.php

it tells me no action and last night it was working :surprised:

When i try to pick the action in action manager in my admincp it tells me :

Could not find phrase 'uttstore_saved_values_successfully'.

What should i do? :ermm:


Nice rip off of yaXay, MissKalunji.

a123 07-21-2004 02:14 PM

Quote:

Originally Posted by cybermomcafe
Anyone else getting this when using the "donate" function (not admin donate, the regular one), I'm getting the following msg at the top of the page. The donation is successful, but I get this error at the top:

Warning: Division by zero in /home/*****/public_html/*****/forums/uttstore/action.donate.php on line 112

I'm running vB 3.0.3 and upgraded the store from the previous version...

Okay, I got the same problem as yours.

MissKalunji 07-21-2004 03:01 PM

Quote:

Originally Posted by Mr. Brian
Go to: Phrase Manager > add phrase >

Phrase: Type: Control Panel Stop Message
Varname: uttstore_saved_values_successfully
Text: Saved Values Successfully

Hope it helps. :)


Thank you IT fixed my Problem :D

-=Sniper=- 07-21-2004 04:03 PM

^

I get the same problem as you do, but I followed what was said and it didnt fix it for me?

bhutz 07-22-2004 10:42 AM

Hi,

Can anyone advise me on how I can add a custom phrase (such as 'setting_uttpoints_perthread_title') to show how many points you get for doing certain things.

I have an FAQ section on how to earn money so want to have a section to refer people to should they have any questions.

So far I have tried
Code:

Points per thread: $vbphrase[setting_uttpoints_perthread_title]
which displays nothing and..
Code:

Points per thread: $vbphrase['setting_uttpoints_perthread_title']
which gives me an error

Can somebody point me in the right direction please :squareeyed:

kergo 07-22-2004 02:51 PM

I've installed the store following the readme, but after the installation I noticed, that the store-link in the navigation doesn't work. In Opera it's not even a link, in Mozilla it's used like an anchor. I tested the url's with typing them in the browser - that worked.

What to do?

bhutz 07-22-2004 07:26 PM

Quote:

Originally Posted by kergo
I've installed the store following the readme, but after the installation I noticed, that the store-link in the navigation doesn't work. In Opera it's not even a link, in Mozilla it's used like an anchor. I tested the url's with typing them in the browser - that worked.

What to do?

I think I had the same error, I'm on 3.0.1 and I tried to set 'vBMenu' DHTML Popup Menus' to off.

Try going to Style & Language Settings in the adminCP and turn Use 'vBMenu DHTML Popup Menus?' to on, see if that works

webhost 07-23-2004 04:27 AM

Hack worked fine the first day, however tonight when I go to the richest members page I get this error at the top of the page.
Warning: Division by zero in /home/username/public_html/forums/includes/functions.php on line 1737

webhost 07-23-2004 05:15 PM

We edited the functions.php file to work with the addon.

Sadie Frost 07-23-2004 05:48 PM

Is there a way to make this allow points to be deducted via the donate link?

:)

LilPimp 07-24-2004 04:06 AM

Hey. I got tha whole hack installed. Its working fine. Everything is working and theres no errors. The only thing wrong that when a person makes a reply or a thread they dont get any money. The main store and everything works. This is the only thing thats not working. Can someone tell me what's wrong with it, or at least tell me what files i should look into for this problem.

Zachery 07-24-2004 05:57 AM

Quote:

Originally Posted by LilPimp
Hey. I got tha whole hack installed. Its working fine. Everything is working and theres no errors. The only thing wrong that when a person makes a reply or a thread they dont get any money. The main store and everything works. This is the only thing thats not working. Can someone tell me what's wrong with it, or at least tell me what files i should look into for this problem.

Did you update the forums (go in and edit one and save?)

LilPimp 07-24-2004 07:37 AM

What do you mean did I update tha forums?

Zachery 07-24-2004 08:26 AM

Did you do what i just said?

Go into one of the forums, and edit it and just save it?

WEForums 07-24-2004 10:03 AM

I get this error when trying to steal points (thief option):

-----------------------------------------------------
Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE user SET uttpoints=uttpoints+10, reputation=reputation- WHERE userid='2'
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 'WHERE userid='2'' at line 1

mysql error number: 1064

Date: Saturday 24th of July 2004 05:59:47 AM
Script: http://www.weforums.com/forums/ushop.php
Referer:
----------------------------------------------------------

All the files are from .95 and I uploaded just to make sure. Any idea?

mariannet 07-24-2004 04:42 PM

Please help!

I have installed hacks:

PetzVB v2
uCash & uShop 0.95
v3 Arcade Version 1.0
vBadvanced Homepage version 1.1

***

When trying to post thread:

Error in newthread.php line 554:

<form action="newthread.php" method="post" name="vbform" onsubmit="return validatePost(this, this.subject.value, 10, );" onreset="vB_RESET(this);">

When submitting thread or post:

Error in newthread line 554:

<form action="newthread.php" method="post" name="vbform" onsubmit="return validatePost(this, this.subject.value, 10, );" onreset="vB_RESET(this);">

Rapports:

Please complete both the subject and message fields. Press the back button, correct the problem and try again.
The message you have entered is too short. Please lengthen your message to at least 10 characters.

Thread does not get posted.

***

When trying to reply to thread:

Error in newreply.php line 556:

<form action="newreply.php" name="vbform" method="post" onsubmit="return validatePost(this, 0, 10, );" onreset="vB_RESET(this);">

When submitting the post:

Error in newreply.php line 556:

<form action="newreply.php" name="vbform" method="post" onsubmit="return validatePost(this, 0, 10, );" onreset="vB_RESET(this);">

Rapports:

Please complete both the subject and message fields. Press the back button, correct the problem and try again.
The message you have entered is too short. Please lengthen your message to at least 10 characters.

The reply does not get posted.

***

When trying to edit post:

Error in editpost.php line 620:

<form name="vbform" action="editpost.php" method="post" onsubmit="return validatePost(this, 0, 10, );" onreset="vB_RESET(this);">

When submitting it rapports no errors but it only says "edited by" in the post og the reason for editing, the new text is not present.
If I edit som of the original text, the change does not happen.

***

When playing in v3 Arcade and finishing a game, I type in the comments box but on submit gets: No permissions (I have the permissions).

***

I sure hope that someone can help. I'm supposed to open my upgraded forum monday and still have a long way to go :(

Sunshine from Denmark
-Marianne

WEForums 07-24-2004 05:00 PM

Um...could you post it without the HTML?

You should post like 5 lines above and below the lines that have errors too.

GeekyDesigns 07-24-2004 08:22 PM

Quote:

Originally Posted by mariannet
Please help!

I have installed hacks:

PetzVB v2
uCash & uShop 0.95
v3 Arcade Version 1.0
vBadvanced Homepage version 1.1

***

When trying to post thread:

Error in newthread.php line 554:

<form action="newthread.php" method="post" name="vbform" onsubmit="return validatePost(this, this.subject.value, 10, );" onreset="vB_RESET(this);">

When submitting thread or post:

Error in newthread line 554:

<form action="newthread.php" method="post" name="vbform" onsubmit="return validatePost(this, this.subject.value, 10, );" onreset="vB_RESET(this);">

Rapports:

Please complete both the subject and message fields. Press the back button, correct the problem and try again.
The message you have entered is too short. Please lengthen your message to at least 10 characters.

Thread does not get posted.

***

When trying to reply to thread:

Error in newreply.php line 556:

<form action="newreply.php" name="vbform" method="post" onsubmit="return validatePost(this, 0, 10, );" onreset="vB_RESET(this);">

When submitting the post:

Error in newreply.php line 556:

<form action="newreply.php" name="vbform" method="post" onsubmit="return validatePost(this, 0, 10, );" onreset="vB_RESET(this);">

Rapports:

Please complete both the subject and message fields. Press the back button, correct the problem and try again.
The message you have entered is too short. Please lengthen your message to at least 10 characters.

The reply does not get posted.

***

When trying to edit post:

Error in editpost.php line 620:

<form name="vbform" action="editpost.php" method="post" onsubmit="return validatePost(this, 0, 10, );" onreset="vB_RESET(this);">

When submitting it rapports no errors but it only says "edited by" in the post og the reason for editing, the new text is not present.
If I edit som of the original text, the change does not happen.

***

When playing in v3 Arcade and finishing a game, I type in the comments box but on submit gets: No permissions (I have the permissions).

***

I sure hope that someone can help. I'm supposed to open my upgraded forum monday and still have a long way to go :(

Sunshine from Denmark
-Marianne

uCS and vBpetsz are almost the same things (in concept) they may not work together by default.

aHMET 07-24-2004 09:02 PM

Quote:

Originally Posted by Zachery
Go back to the action there should be a remove link.

no there isnt any remove link cost becomes 0 but when we clicked it says not enough points.

LilPimp 07-24-2004 11:50 PM

Quote:

Originally Posted by Zachery
Did you update the forums (go in and edit one and save?)

Hey man thanks so much. That's all I needed to do. A lil thing but a huge impact. Thanx a lot man. I was just about to redo tha whole hack.

Erwin 07-25-2004 12:17 AM

Nicer code in the later versions. :)

For those who are using 0.93 or earlier, there is a security bug, that allows users to enter input data via the URL. It happened to my site, and I had to fix it.

To fix this, edit the ushop.php file, find:

PHP Code:

require_once('./global.php'); 

BELOW, ADD:

PHP Code:

globalize($_POST, array(
'miscinput1' => STR
));

$_REQUEST['miscinput1'] = $_POST['miscinput1']; 

This will prevent people from entering input data via the URL which is significant as such data can include code that can run from the transaction history page.

This only applies to 0.93 or older UShops. :)

Zachery 07-25-2004 12:21 AM

Quote:

Originally Posted by Erwin
Nicer code in the later versions. :)

For those who are using 0.93 or earlier, there is a security bug, that allows users to enter input data via the URL. It happened to my site, and I had to fix it.

To fix this, edit the ushop.php file, find:

PHP Code:

require_once('./global.php'); 

BELOW, ADD:

PHP Code:

globalize($_POST, array(
'miscinput1' => STR
));

$_REQUEST['miscinput1'] = $_POST['miscinput1']; 

This will prevent people from entering input data via the URL which is significant as such data can include code that can run from the transaction history page.

This only applies to 0.93 or older UShops. :)

Thanks for posting that Erwin :)

Mr. Brian 07-25-2004 04:47 AM

Quote:

Originally Posted by Erwin
Nicer code in the later versions. :)

For those who are using 0.93 or earlier, there is a security bug, that allows users to enter input data via the URL. It happened to my site, and I had to fix it.

To fix this, edit the ushop.php file, find:

PHP Code:

require_once('./global.php'); 

BELOW, ADD:

PHP Code:

globalize($_POST, array(
'miscinput1' => STR
));

$_REQUEST['miscinput1'] = $_POST['miscinput1']; 

This will prevent people from entering input data via the URL which is significant as such data can include code that can run from the transaction history page.

This only applies to 0.93 or older UShops. :)


Thanks for sharing it with us. :)

Thumbs up!

mariannet 07-25-2004 08:31 AM

Quote:

Originally Posted by GeekyDesigns
uCS and vBpetsz are almost the same things (in concept) they may not work together by default.

Thanks, I have uninstalled uCash & uShop 0.95 and edited all files and templates. I still get the same error.

Looks to me that it has something to do with the posting form. The error comes with posting post and thread and on editing posts. Maybe a call to something as when submitting nothing is submitted but when editing the "edited by" shows up, but not the edited part.

I can edit the thread subject with no problems.

Has anyone got an idea where to start looking as I'm going totally barmy over this and need some sleep soon :tired:

YamaMotoYama 07-25-2004 09:01 AM

Please help, Everything works great except that I cant seem to get the nav bar to work.

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

I ran into the following error during the upgrade. I think the script was looping... I changed the url from 4 to 5 and it said its done but I just wanted to make sure that nothing else was needed. (I also assume I dont have to re-do the file edits?) Thanks!

Quote:

Database error in vBulletin 3.0.3:

Invalid SQL: CREATE TABLE utt_store_asvs ( `asvsid` INT( 20 ) NOT NULL AUTO_INCREMENT ,
`actionid` INT( 20 ) NOT NULL ,
`varname` VARCHAR( 255 ) NOT NULL ,
`title` VARCHAR( 255 ) NOT NULL ,
`description` TEXT NOT NULL ,
`optioncode` VARCHAR( 255 ) NOT NULL ,
`value` TEXT NOT NULL ,
PRIMARY KEY ( `asvsid` )
)
mysql error: Table 'utt_store_asvs' already exists

mysql error number: 1050

Date: Sunday 25th of July 2004 05:39:46 PM
Script: http://shinraonline.com/board/adminc...asequeries&v=4
Referer: http://shinraonline.com/board/adminc...otemplates&v=4
Username: Reeve of the Turks
IP Address: xx.xxx.xxx.xxx


All times are GMT. The time now is 08:12 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.03302 seconds
  • Memory Usage 1,890KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_php_printable
  • (20)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