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)

olddh 04-12-2004 11:42 PM

Did you run the standalone or HTL installer?
I used the installer included (ushop_install.php)
What is the exact error you recieve?
If I go to the shop or any other page it says like no actions
Where does the supposed error happen?
Every page on my forum.
What vB version are you running?
3.0

Look for yourself at spunky.uni.cc

mantra 04-12-2004 11:43 PM

thank you everyone for your help .. i think my problems have been resolved.
thanks again

James Collins 04-12-2004 11:46 PM

sorry posted the one without the addition you make, same error though

'cron',
'forumcache',
'usergroupcache',
'stylecache',
'utt_store_act'
'arcadesettings'
), $specialtemplates);

$datastoretemp = $DB_site->query("
SELECT title, data FROM " . TABLE_PREFIX . "datastore
WHERE title IN ('" . implode("', '", $specialtemplates) . "')
");

Link14716 04-12-2004 11:54 PM

Quote:

Originally Posted by James Collins
sorry posted the one without the addition you make, same error though

'cron',
'forumcache',
'usergroupcache',
'stylecache',
'utt_store_act'
'arcadesettings'
), $specialtemplates);

$datastoretemp = $DB_site->query("
SELECT title, data FROM " . TABLE_PREFIX . "datastore
WHERE title IN ('" . implode("', '", $specialtemplates) . "')
");

Change
PHP Code:

 'utt_store_act' 

to
PHP Code:

 'utt_store_act'


Link14716 04-12-2004 11:57 PM

Quote:

Originally Posted by Mijae
I am not getting any points! Doesnt matter what I do, I get 0 points.

Quote:

Originally Posted by olddh
Did you run the standalone or HTL installer?
I used the installer included (ushop_install.php)
What is the exact error you recieve?
If I go to the shop or any other page it says like no actions
Where does the supposed error happen?
Every page on my forum.
What vB version are you running?
3.0

Look for yourself at spunky.uni.cc

Refer to the newly edited first post.

Mijae 04-13-2004 12:00 AM

Quote:

Originally Posted by Link14716
Refer to the newly edited first post.

Do I have to rehack everything?

My postbit_legacy has no uttstore.php mentions...

Link14716 04-13-2004 12:02 AM

Look at the bottom of it. Edit a forum and change the store options (all 3) to 1.

lasto 04-13-2004 12:02 AM

Quote:

Originally Posted by Mijae
I am not getting any points! Doesnt matter what I do, I get 0 points.
He is right - is something i overlooked as an admin i auto donated 1000 to myself and played with them.Now i made a test account and replying to - or making a new thread does not give points.

Did you run the standalone or HTL installer?
I used the installer included (ushop_install.php)
What is the exact error you recieve?
No errors i just dont get any points for making a thread or replying to a thread.
Where does the supposed error happen?
Every page on my forum.
What vB version are you running?
3.0 Gold

Link14716 04-13-2004 12:04 AM

Quote:

Originally Posted by lasto
He is right - is something i overlooked as an admin i auto donated 1000 to myself and played with them.Now i made a test account and replying to - or making a new thread does not give points.

Did you run the standalone or HTL installer?
I used the installer included (ushop_install.php)
What is the exact error you recieve?
No errors i just dont get any points for making a thread or replying to a thread.
Where does the supposed error happen?
Every page on my forum.
What vB version are you running?
3.0 Gold

Look a post above yours. And then look at the updated first post.

Mijae 04-13-2004 12:06 AM

Thanks! Now everything is working fine.

lasto 04-13-2004 12:08 AM

Perfect soz for taking your time up link14716 - cant believe i never noticed that :)

Edit - deleteing posts does not delete points.

poetic 04-13-2004 12:11 AM

Quote:

Originally Posted by Link14716
The result being?

Worked.

Link14716 04-13-2004 12:12 AM

Quote:

Originally Posted by poetic
Worked.

:)

Link14716 04-13-2004 12:13 AM

Quote:

Originally Posted by lasto
Perfect soz for taking your time up link14716 - cant believe i never noticed that :)

Edit - deleteing posts does not delete points.

Intentional.

poetic 04-13-2004 12:13 AM

WEEEEELLL I'm not getting points though. Also in the admin cp it says some of the phrases weren't inserted.

Link14716 04-13-2004 12:14 AM

Quote:

Originally Posted by poetic
WEEEEELLL I'm not getting points though. Also in the admin cp it says some of the phrases weren't inserted.

Read the bottom of the first post. And did you install via the HTL?

James Collins 04-13-2004 12:18 AM

Thanks for all you help. No errors now except the uttstore.php not found errors. Do we have to alter all mentions of this or just in the postbit?

All the ones you created in the auto-installer as well?

Sorry been reading as many posts as I can, this is one hell of a thread :D

Link14716 04-13-2004 12:19 AM

Quote:

Originally Posted by James Collins
Thanks for all you help. No errors now except the uttstore.php not found errors. Do we have to alter all mentions of this or just in the postbit?

All the ones you created in the auto-installer as well?

Sorry been reading as many posts as I can, this is one hell of a thread :D

Just change it in the postbit - as there shouldn't be any mentions to it in any other template.

James Collins 04-13-2004 12:27 AM

Quote:

Originally Posted by Link14716
Just change it in the postbit - as there shouldn't be any mentions to it in any other template.

Ok then, I have screwed up on the final bit as well then.

I get mentions to uttstore.php in
UTTSTORE
uttstore_changeremove
*_main_historybits
*_main_mostsolid
*_mostsolidbits
*_nav_actionbits
*_userhistorybits

I thought I was using the correct postbit, maybe not?

(they are all named correctly)

Finds a ref to them in all these..

(please bare with me - like I said, real new :D)

Oh, and lastly can we paypal you something - people like you who stay up helping deserve a little pressie :)

GeekyDesigns 04-13-2004 12:40 AM

IF youd like to make a donation drop me a PM :)

Vivi Ornitier 04-13-2004 12:41 AM

1. Is there way to replace the "points" with something else like gil or somethin for RPG forums.

2. I'm gettin the no actions found error when i view the store. I tried the first post by editing the global.php and that didn't work for me. I edited the forums all to 1 and that fixed the points but now i can't view anything in the shop.

GeekyDesigns 04-13-2004 12:42 AM

In the next version or two, points will become a varible, right now its hard coded, so its just changing text

Did you run the standalone or HTL installer?
What is the exact error you recieve?
Where does the supposed error happen?
What vB version are you running?

AN-net 04-13-2004 12:44 AM

Quote:

Originally Posted by Vivi Ornitier
1. Is there way to replace the "points" with something else like gil or somethin for RPG forums.

Do template code search for points and that then just replace those with Gil;)

Giveit2u43 04-13-2004 12:45 AM

My co-admin called me in to fix this after he got the foreach errors.. one important bit of advice I have for people is LOOK AT THE WHOLE CODE YOU ARE MEANT TO BE PUTTING THE HACK BEFORE the code is towards the bottom of the gloabls file.. NOT the top!

(hope that might help someone)

AN-net 04-13-2004 12:47 AM

may i request the first post this thread to be edited to include a link to my post for WOL edits.

Vivi Ornitier 04-13-2004 12:51 AM

sorry, forgot to put all the quesitons down.

Did you run the standalone or HTL installer?
Standalone

What is the exact error you recieve?
THere is no error, just none of the options will display. I can't view the bank, richest member or anything. All is ee when I open the ushop.php file is "No actions found...
". I had the foreach() error prior but it went away somehow.

Where does the supposed error happen?
ushop.php

What vB version are you running?
Gold

Link14716 04-13-2004 12:55 AM

Quote:

Originally Posted by Vivi Ornitier
sorry, forgot to put all the quesitons down.

Did you run the standalone or HTL installer?
Standalone

What is the exact error you recieve?
THere is no error, just none of the options will display. I can't view the bank, richest member or anything. All is ee when I open the ushop.php file is "No actions found...
". I had the foreach() error prior but it went away somehow.

Where does the supposed error happen?
ushop.php

What vB version are you running?
Gold

Read the edits in the first post.

Link14716 04-13-2004 12:55 AM

Quote:

Originally Posted by AN-net
may i request the first post this thread to be edited to include a link to my post for WOL edits.

I'll edit it the next time I log into GeekyDesigns (unless Zachery beats me to it).

Link14716 04-13-2004 12:56 AM

Quote:

Originally Posted by Giveit2u43
My co-admin called me in to fix this after he got the foreach errors.. one important bit of advice I have for people is LOOK AT THE WHOLE CODE YOU ARE MEANT TO BE PUTTING THE HACK BEFORE the code is towards the bottom of the gloabls file.. NOT the top!

(hope that might help someone)

The code appears twice? Might have to fix that.

EDIT: Nevermind. :p Yeah, similar code is in several places in global.php.

Link14716 04-13-2004 12:57 AM

Quote:

Originally Posted by James Collins
Ok then, I have screwed up on the final bit as well then.

I get mentions to uttstore.php in
UTTSTORE
uttstore_changeremove
*_main_historybits
*_main_mostsolid
*_mostsolidbits
*_nav_actionbits
*_userhistorybits

I thought I was using the correct postbit, maybe not?

(they are all named correctly)

Finds a ref to them in all these..

(please bare with me - like I said, real new :D)

Oh, and lastly can we paypal you something - people like you who stay up helping deserve a little pressie :)

It shouldn't. Do a template find/replace for uttstore.php and have it replace it with ushop.php.

James Collins 04-13-2004 12:58 AM

I was rushing - should have waited. Backed up all the edits I did in the files, so thats easy enough, just cant get the installer to run again...

Thought I have made a large error in the templates so un-installed and tried to install again....

Quote:

Checking for previous installations...

It appears you already have the latest version installed!
Anything that can be done?

Vivi Ornitier 04-13-2004 12:59 AM

oh i'm an idiot.

When i tried searchin for the 2nd edit in global.php, I couldn't find it, so i tried reducing the amount of characters searched so i used $starttime = explode(' ', $pagestarttime); instead and what do ya know, there's like 5 of those. Didn't know that chunk was at the very end of global.php, but i found it and everything is workin nicely. Great hack:)!

Link14716 04-13-2004 01:00 AM

If you uninstalled, then you shouldn't get that error.

Either way, just skip to ushop_install.php?do=install&step=dosettings

Flow Fusion 04-13-2004 01:01 AM

Ok I see this is not fully compatable with the arcade I have this problem in my index.php. Where it says
$printhr = false;
++++if (can_administer('canadminstyles')
add above
// ## <ucs>
++++++++construct_nav_option("uTT Point System Settings", 'options.php?dogroup=uttpoints', '<br />');
++++++++construct_nav_option("uTT Store Settings", 'options.php?dogroup=uttstore', '<br />');
++++++++construct_nav_option("Action Manager", 'uttstoreadmin.php?do=modify', '<br />');
++++++++construct_nav_option("Add Action", 'uttstoreadmin.php?do=add', '<br />');
++++++++construct_nav_group("uTT Store Hack", '<hr />');
// ## </ucs>

But I have in my index.php because of the arcade
$printhr = false;
construct_nav_option("General Settings", 'arcadeadmin.php?do=general', '<br />');
construct_nav_option("Game Settings", 'arcadeadmin.php?do=games', '<br />');
construct_nav_option("Score Settings", 'arcadeadmin.php?do=scores', '<br />');
construct_nav_option("Challenges", 'arcadeadmin.php?do=challenges', '<br />');
construct_nav_group("Arcade", '<hr />');
if (can_administer('canadminstyles'))
{
I want to make sure I do this part right before I upload the other files?

Link14716 04-13-2004 01:02 AM

Quote:

Originally Posted by Flow Fusion
Ok I see this is not fully compatable with the arcade I have this problem in my index.php. Where it says
$printhr = false;
++++if (can_administer('canadminstyles')
add above
// ## <ucs>
++++++++construct_nav_option("uTT Point System Settings", 'options.php?dogroup=uttpoints', '<br />');
++++++++construct_nav_option("uTT Store Settings", 'options.php?dogroup=uttstore', '<br />');
++++++++construct_nav_option("Action Manager", 'uttstoreadmin.php?do=modify', '<br />');
++++++++construct_nav_option("Add Action", 'uttstoreadmin.php?do=add', '<br />');
++++++++construct_nav_group("uTT Store Hack", '<hr />');
// ## </ucs>


But I have in my index.php because of the arcade
$printhr = false;
construct_nav_option("General Settings", 'arcadeadmin.php?do=general', '<br />');
construct_nav_option("Game Settings", 'arcadeadmin.php?do=games', '<br />');
construct_nav_option("Score Settings", 'arcadeadmin.php?do=scores', '<br />');
construct_nav_option("Challenges", 'arcadeadmin.php?do=challenges', '<br />');
construct_nav_group("Arcade", '<hr />');
if (can_administer('canadminstyles'))
{
I want to make sure I do this part right before I upload the other files?

Just do as it says.

GeekyDesigns 04-13-2004 01:04 AM

First post updated with WOL instructions

Link14716 04-13-2004 01:05 AM

Quote:

Originally Posted by GeekyDesigns
IF youd like to make a donation drop me a PM :)

Anything to support our/my caffeiene addiction is appreciated. ;)

vhoang 04-13-2004 01:10 AM

there r still a lot of links referred to "uttshop.php" instead of "ushop.php", can anyone fix and update the first post?

Link14716 04-13-2004 01:12 AM

Quote:

Originally Posted by vhoang
there r still a lot of links referred to "uttshop.php" instead of "ushop.php", can anyone fix and update the first post?

Answer the questions as posted in the first post.

vhoang 04-13-2004 01:17 AM

how to add a link to shop/point next to say "User CP" ?


All times are GMT. The time now is 10:35 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.05103 seconds
  • Memory Usage 1,845KB
  • 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_php_printable
  • (21)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