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)

Link14716 04-13-2004 12:53 PM

Quote:

Originally Posted by *arie
great hack...

Everything is working fine for us. :D

Finally, someone not having any problems. ;) Hope you enjoy it. :)

olddh 04-13-2004 01:08 PM

Ok it says to edit this file...
functions_showthread.php

//do posts from ignored users

-I cannot find it, I used the search feature for Wordpad and it could not find it.
Could someone please tell me where it should be so I can post the necessary code.

Zelda-King 04-13-2004 01:08 PM

Quote:

Originally Posted by Link14716
Re-download the zip and upload the files, run the uninstaller in the standalone, and then run the installer. Tell me if the problems are still there - though I don't see why they would be.

That applies to all the problems in your post - except the images - that is a known bug.

OK, just cleaned my cache and redownloaded. The installer had an error trying to refer to functions_uttstore.php (which I fixed by renaming it to functions_ushop.php).

However, now if I go to my bank (that's what I tested) I get this error;

Warning: main(./includes/functions_uttstore.php): failed to open stream: No such file or directory in /home/gamercr/public_html/bb/ushop.php on line 86

Fatal error: main(): Failed opening required './includes/functions_uttstore.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gamercr/public_html/bb/ushop.php on line 86


I'll go edit the file for myself and keep you posted. :)

Link14716 04-13-2004 01:12 PM

The file is functions_uttstore.php.

Link14716 04-13-2004 01:13 PM

Quote:

Originally Posted by olddh
Ok it says to edit this file...
functions_showthread.php

//do posts from ignored users

-I cannot find it, I used the search feature for Wordpad and it could not find it.
Could someone please tell me where it should be so I can post the necessary code.

What vB version is this?

olddh 04-13-2004 01:15 PM

3.0

olddh 04-13-2004 01:17 PM

I am also having troubles finding this...

<a style="font-size:14pt" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>

It says its in the postbit template.

Zelda-King 04-13-2004 01:17 PM

OK, so far everything seems functional now. Thankyou. :)

mantra 04-13-2004 01:18 PM

Can I add my own items to the store like DVDs and etc.
I tried that and when I went to buy the item, I got this error message:

Warning: main(uttstore/action.): failed to open stream: No such file or directory in /home/desispac/public_html/forums/ushop.php on line 247

Fatal error: main(): Failed opening required 'uttstore/action.' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/desispac/public_html/forums/ushop.php on line 247

Link14716 04-13-2004 01:20 PM

Quote:

Originally Posted by olddh
I am also having troubles finding this...

<a style="font-size:14pt" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>

It says its in the postbit template.

Are you using an old version of the zip? Redownload it because that edit was removed a while ago as it is not needed. As far as the functions_showthread.php not having that code, the code should be

// do posts from ignored users

Notice the space between // and do.

Zelda-King 04-13-2004 01:20 PM

Quote:

Originally Posted by mantra
I got this error message:

Warning: main(uttstore/action.): failed to open stream: No such file or directory in /home/desispac/public_html/forums/ushop.php on line 247

Fatal error: main(): Failed opening required 'uttstore/action.' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/desispac/public_html/forums/ushop.php on line 247

I posted this. I changed functions_uttstore.php to functions_ushop.php then changed line 86 of ushop.php to point to functions_ushop.php.

Not sure that's what the coders want us to do but it'll work until they tell you different. :)

Link14716 04-13-2004 01:21 PM

Quote:

Originally Posted by mantra
Can I add my own items to the store like DVDs and etc.
I tried that and when I went to buy the item, I got this error message:

Warning: main(uttstore/action.): failed to open stream: No such file or directory in /home/desispac/public_html/forums/ushop.php on line 247

Fatal error: main(): Failed opening required 'uttstore/action.' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/desispac/public_html/forums/ushop.php on line 247

No you cannot.

Link14716 04-13-2004 01:23 PM

Quote:

Originally Posted by Zelda-King
I posted this. I changed functions_uttstore.php to functions_ushop.php then changed line 86 of ushop.php to point to functions_ushop.php.

Not sure that's what the coders want us to do but it'll work until they tell you different. :)

You shouldn't do that. The file is functions_uttstore.php and is referred to as such everywhere. I noticed that the installer had referred to functions_ushop.php and have fixed it since.

Flow Fusion 04-13-2004 01:30 PM

Fatal error: Call to undefined function: ÊÊÊÊÊÊÊÊconstruct_nav_option() in /home/giftedso/public_html/gs/admincp/index.php on line 514

help?

mantra 04-13-2004 01:31 PM

ok, so if I shouldn't do this - " I changed functions_uttstore.php to functions_ushop.php then changed line 86 of ushop.php to point to functions_ushop.php" then what should I do ?

so I cannot add other items to the store ?

Link14716 04-13-2004 01:32 PM

Quote:

Originally Posted by Flow Fusion
Fatal error: Call to undefined function: ????????construct_nav_option() in /home/giftedso/public_html/gs/admincp/index.php on line 514

help?

...someting went horribly wrong with your file edits.

Link14716 04-13-2004 01:33 PM

Quote:

Originally Posted by mantra
ok, so if I shouldn't do this - " I changed functions_uttstore.php to functions_ushop.php then changed line 86 of ushop.php to point to functions_ushop.php" then what should I do ?

so I cannot add other items to the store ?

This is not an itemshop, nor is this a vbTrader-like hack.

BarHopper 04-13-2004 01:42 PM

Quote:

Originally Posted by Link14716
The first two are both mistakes made by Zachery in the templates. ;) It says Out Of Stock when you don't have enough money as well as when it is actually out of stock. (bug). And it appears he forgot to add the images back in for some reason.

So, how do i correct it? Or dont i?

Also, could you tell me the exact code i need to delete please.. Thankyou. (To prevent anymore bugs/problems)

Link14716 04-13-2004 01:44 PM

Quote:

Originally Posted by BarHopper
So, how do i correct it? Or dont i?

Also, could you tell me the exact code i need to delete please.. Thankyou. (To prevent anymore bugs/problems)

...just look at the HTML file and delete the code that it tells you to find in the last edit for postbit.

AutomatikStudio 04-13-2004 01:49 PM

/me thinks that this maybe should have been released in the Beta Hack's forum.

I know I personally have found numerous mistyped code, misspelled words, and other small mistakes.

olddh 04-13-2004 01:50 PM

Ok I remember seeing a fix code somewhere but I can't seem to find it. I got the store working the only thing is that it isn't counting posts.

SmasherMaster 04-13-2004 01:51 PM

Quote:

Originally Posted by Link14716
It shouldn't matter. Either way, uninstall with the standalone and then re-install with the standalone.

Huh? I'm confused.

BarHopper 04-13-2004 01:52 PM

Still link, what do i do about the Out of stock? Wait for the templates to be changed? Or what?

Link14716 04-13-2004 01:55 PM

Quote:

Originally Posted by olddh
Ok I remember seeing a fix code somewhere but I can't seem to find it. I got the store working the only thing is that it isn't counting posts.

Make sure you edited the files correctly.

mantra 04-13-2004 01:56 PM

any hacks that will let me sell my own items to the users of my forum (i.e. dvds, cds, etc)

thanks

Link14716 04-13-2004 01:57 PM

Quote:

Originally Posted by SmasherMaster
Huh? I'm confused.

I shouldn't matter if you used the HTL or the HTML file. Either way, I'm asking you to (re-)upload the installer, run the uninstaller, and then run the install again using the standalone - not the HTL.

Link14716 04-13-2004 01:58 PM

Quote:

Originally Posted by BarHopper
Still link, what do i do about the Out of stock? Wait for the templates to be changed? Or what?

Wait for the templates to be updated, or apply this fix: https://vborg.vbsupport.ru/showpost....&postcount=234

Link14716 04-13-2004 01:59 PM

Quote:

Originally Posted by mantra
any hacks that will let me sell my own items to the users of my forum (i.e. dvds, cds, etc)

thanks

vbTrader by trafix. Ask about it at http://www.everythingvb.com/.

olddh 04-13-2004 02:02 PM

Make sure you edited the files correctly.
The only one that I could not figure out how to edit was includes_showthread.php

^that is probably why its not working but the line that is suppost to be editd is not there

Link14716 04-13-2004 02:05 PM

Quote:

Originally Posted by olddh
Make sure you edited the files correctly.
The only one that I could not figure out how to edit was includes_showthread.php

^that is probably why its not working but the line that is suppost to be editd is not there

What is the problem? Post counts are not updating? That would be an improper includes/functions_newpost.php edit.

olddh 04-13-2004 02:07 PM

Well the problem is that people are not getting points when they post

Link14716 04-13-2004 02:08 PM

Then the information in the first post comes into play here, and if that doesn't help, it is still an improper includes/functions_newpost.php edit.

olddh 04-13-2004 02:14 PM

When I try to update points, I get this...
Database error in vBulletin 3.0.0:

Invalid SQL: UPDATE forum SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'General Chat',
description = '',
link = '',
displayorder = '1',
daysprune = '30',
parentid = '-1',
mimicbotrop = '',
newpostemail = '',
newthreademail = '',
styleid = '0',
password = '',
uttpoints_perthread = '1',
uttpoints_perreply = '1',
uttpoints_perview = '0',
options = '89795',
parentlist = '6,-1'
WHERE forumid=6
mysql error: Unknown column 'mimicbotrop' in 'field list'

mysql error number: 1054

Date: Tuesday 13th of April 2004 10:13:53 AM
Script: http://www.spunky.uni.cc/forum/admincp/forum.php
Referer: http://www.spunky.uni.cc/forum/admin...t&forumid=6&s=

What code did I mess up?

SmasherMaster 04-13-2004 02:15 PM

Quote:

Originally Posted by Link14716
I shouldn't matter if you used the HTL or the HTML file. Either way, I'm asking you to (re-)upload the installer, run the uninstaller, and then run the install again using the standalone - not the HTL.

Ok it's working....but I still get the no actions found...:(

EDIT: And shouldn't there be some "points" field in the user editor in the admincp? Also, where's the fields in the forum options allowing points? And if somehow I do get this thign working how do I update the points to the ppl who already have a ton of posts?

milkmycow 04-13-2004 02:30 PM

ok to try to fix the link errors, i decided to uninstall, and reinstall the newest zip.. damn was that a mistake..

during uninstall procress once it starts the sql uninstall i got this error

Database error in vBulletin 3.0.0:

Invalid SQL: ALTER TABLE forum DROP `uttpoints_perthread` , DROP `uttpoints_perreply` , DROP `uttpoints_perview`
mysql error: Can't DROP 'uttpoints_perthread'. Check that column/key exists

mysql error number: 1091

when i go back to the upgrade option, it loads blank page, when i goto install it says i already have the latest version

vb3 gold, standalone

Link14716 04-13-2004 02:32 PM

Quote:

Originally Posted by olddh
When I try to update points, I get this...
Database error in vBulletin 3.0.0:

Invalid SQL: UPDATE forum SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'General Chat',
description = '',
link = '',
displayorder = '1',
daysprune = '30',
parentid = '-1',
mimicbotrop = '',
newpostemail = '',
newthreademail = '',
styleid = '0',
password = '',
uttpoints_perthread = '1',
uttpoints_perreply = '1',
uttpoints_perview = '0',
options = '89795',
parentlist = '6,-1'
WHERE forumid=6
mysql error: Unknown column 'mimicbotrop' in 'field list'

mysql error number: 1054

Date: Tuesday 13th of April 2004 10:13:53 AM
Script: http://www.spunky.uni.cc/forum/admincp/forum.php
Referer: http://www.spunky.uni.cc/forum/admin...t&forumid=6&s=

What code did I mess up?

The error has nothing to do with this hack. It has to do with another hack that edited forum.php.

milkmycow 04-13-2004 02:33 PM

uh how so? it happened in the uninstall script?

but ok..

how can i manually uninstall then? so that when i goto install it wont say i have newest version

Link14716 04-13-2004 02:34 PM

Quote:

Originally Posted by SmasherMaster
Ok it's working....but I still get the no actions found...:(

EDIT: And shouldn't there be some "points" field in the user editor in the admincp? Also, where's the fields in the forum options allowing points? And if somehow I do get this thign working how do I update the points to the ppl who already have a ton of posts?

Search this thread. I answered most of those questions throughout this thread.

Link14716 04-13-2004 02:34 PM

Quote:

Originally Posted by milkmycow
uh how so? it happened in the uninstall script?

but ok..

how can i manually uninstall then? so that when i goto install it wont say i have newest version

I wasn't replying to you.

Link14716 04-13-2004 02:38 PM

Quote:

Originally Posted by milkmycow
ok to try to fix the link errors, i decided to uninstall, and reinstall the newest zip.. damn was that a mistake..

during uninstall procress once it starts the sql uninstall i got this error

Database error in vBulletin 3.0.0:

Invalid SQL: ALTER TABLE forum DROP `uttpoints_perthread` , DROP `uttpoints_perreply` , DROP `uttpoints_perview`
mysql error: Can't DROP 'uttpoints_perthread'. Check that column/key exists

mysql error number: 1091


when i go back to the upgrade option, it loads blank page, when i goto install it says i already have the latest version


vb3 gold, standalone

Go to ushop_install.php?do=install&step=dosettings and start from there.


All times are GMT. The time now is 03:22 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.04143 seconds
  • Memory Usage 1,840KB
  • 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
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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