Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > uCash & uShop
uCash & uShop old support and thank you thread Details »»
uCash & uShop old support and thank you thread
Version: , by BarHopper BarHopper is offline
Developer Last Online: Aug 2005 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-12-2004 Last Update: Never Installs: 0
 
No support by the author.

/me Installs. I'm the first for the most aniticipated hack!!1

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1092  
Old 06-14-2004, 04:48 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
A few of my members have asked for a way to display their points total in the navbar.

This is probaly very easy, but sticking $points in the Welocme/PM area doesn't seem to work.
you should be able to use $bbuserinfo[points] I THINK
Reply With Quote
  #1093  
Old 06-14-2004, 05:07 AM
Zoints Zoints is offline
 
Join Date: Feb 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mhaddy
I believe I found a small bug in action.denyforumaccess.php.

Around line 35 there is the line:
PHP Code:
if ($accessable['accessmask'] == '0') { 
This should be:
PHP Code:
if ($accessable[accessmask] == '0') { 
I found this out when I consistently received the "this forum is already un-accessable" error when trying to deny access to a forum for a user through the shop. I noticed another member in the thread (I forget his name) asked the same question, but AFAIK, was never answered. Now I can deny access to forums to all the users I want . Hope this helps someone.
I was so excited as I have been having this same problem. But when I made the changes you specified, I still have the same issue. Did you maybe fix any other issues with it?
Reply With Quote
  #1094  
Old 06-14-2004, 05:47 AM
LoOnEyToOnZ LoOnEyToOnZ is offline
 
Join Date: Mar 2004
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to change the name "points" to "cash" ? make it read as "cash" throughout the site
Reply With Quote
  #1095  
Old 06-14-2004, 11:42 AM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Guys,

A couple of my users (not very many at all) are having problems accessing the bank for some reason.

This is the email I get:

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL: UPDATE user SET uttpoints=uttpoints-75,70 WHERE userid='186'
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 '70 WHERE userid='186'' at line 1

mysql error number: 1064

Date: Monday 14th of June 2004 07:38:07 AM
Script: http://www.probetreff.com/forum/usho...shortname=bank



It works for 99% of the people but for some reason they get an error...they are using internet explorer and 1 user is betting this error on 4 different computers


Any Ideas?
Reply With Quote
  #1096  
Old 06-14-2004, 02:12 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SkyCatcher
Hi Guys,

A couple of my users (not very many at all) are having problems accessing the bank for some reason.

This is the email I get:

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL: UPDATE user SET uttpoints=uttpoints-75,70 WHERE userid='186'
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 '70 WHERE userid='186'' at line 1

mysql error number: 1064

Date: Monday 14th of June 2004 07:38:07 AM
Script: http://www.probetreff.com/forum/usho...shortname=bank



It works for 99% of the people but for some reason they get an error...they are using internet explorer and 1 user is betting this error on 4 different computers


Any Ideas?


Ok I solved the problem, not 100% sure why though.

The users couldn't access the bank so I deleted what was in the bank_query in my phpmyadmin and they got access...

Then I noticed that some users used a , (comma) instead of a . (period) for decimal places and that somehow screwed up they're points.
Reply With Quote
  #1097  
Old 06-14-2004, 07:20 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
Make sure you did your file edits to functions.php
Zachery - I've just checked the functions.php and the code is there. Funny thing is in AdminCP | Usergroups, when you can add HTML start and end tags, putting anything in there such as <i> and </i> doesn't do anything either. This is clearly related.

Any further ideas?
Reply With Quote
  #1098  
Old 06-14-2004, 10:55 PM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok How do I edit the postbit file to show the colors/ italics etc? Cause they are no longer working?
Reply With Quote
  #1099  
Old 06-15-2004, 12:18 AM
IIstix IIstix is offline
 
Join Date: Jun 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you run the standalone or HTL installer?
Standalone

What is the exact error you recieve?

Warning: Invalid argument supplied for foreach() in /... (vb3 root path) .../global.php on line 701

Unable to add cookies, header already sent.
File: /... (vb3 root path) .../global.php
Line: 701


Where does the supposed error happen?

When trying to run ushop_install.php


What vB version are you running?

3.0.1

I hit the BACK button on my browser, which reloaded the ushop_install.php script and I got the install page!?! I went ahead and installed the script and I got no error messages.

Why would it work upon reloading ushop_install.php, even though I did not make any changes like removing the second global.php edit and running the ushop rebuild script?
Reply With Quote
  #1100  
Old 06-15-2004, 11:11 PM
Albus Albus is offline
 
Join Date: May 2004
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and it seems to be working great. I did get the array error and the no points thing, but I fixed it with the initial instructions. Now, what I was wondering is, if I decide at some point to uninstall this, what tables were altered, and what fields were added to them.

The following are obvious :
Restore all files and style templates that were edited
Delete all files and style templates that were added
Delete all phrases that were added
Delete all tables that were added

Now, what I need to know is, which existing table were altered and what fields were added to them? Is there anything else?

NOTE: I did backup the DB and files prior to this, however, IF I have to do this, I don't want o have to backtrack if possible.
Reply With Quote
  #1101  
Old 06-15-2004, 11:45 PM
Albus Albus is offline
 
Join Date: May 2004
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I was looking through the install script and found this section.

if ($_REQUEST['do'] == 'uninstall')

I assume if I was to do this, I'd still have to revert my basic templates.

Has this uninstall code been tested?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07430 seconds
  • Memory Usage 2,332KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete