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)

Zachery 04-15-2004 09:24 AM

Quote:

Originally Posted by tnguy3n
anyone actually has this hack worked? I got this error message ever time install the hack

I tested on an unhacked board and still no luck ... got same error message.

Hack is working fine on tons of sites


is_browser() is a built in vB function, if its not working theres a problem with your files.

tnguy3n 04-15-2004 09:34 AM

i'll probably try it again later, but i tested it on both 3.0.0 and 3.0.1.

NameWolf 04-15-2004 09:35 AM

Anyway we can give points to our existing members based on their previous post count ? They are pretty pissed about losing all their previous forum points with the new system ? :)

Thanks in advance.

NW

GeekyDesigns 04-15-2004 09:36 AM

Quote:

Originally Posted by NameWolf
Anyway we can give points to our existing members based on their previous post count ? They are pretty pissed about losing all their previous forum points with the new system ? :)

Thanks in advance.

NW

If you know where the old poitns were stored or know the hack pm link and he can help.

tnguy3n 04-15-2004 10:22 AM

okie, i found this intereting....

in file includes/functions.php

If I replace:
Code:

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

// ## <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 got an error message as mentioned in previous post. However, if i leave dis includes/functions.php file unchanged (or un-editted), the point/money/bank system works. but i guess the bold/italic title won't work in dis case.

anyway to fix this problem?

msimplay 04-15-2004 10:42 AM

i hate to ask this but it would be good if the next version has the ability as an action to buy custom avatars in the same way as custom user titles
and change next persons title
and same for signatures

Link14716 04-15-2004 11:00 AM

Quote:

Originally Posted by tnguy3n
okie, i found this intereting....

in file includes/functions.php

If I replace:
Code:

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

// ## <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 got an error message as mentioned in previous post. However, if i leave dis includes/functions.php file unchanged (or un-editted), the point/money/bank system works. but i guess the bold/italic title won't work in dis case.

anyway to fix this problem?

What are you using to edit the files?

EDIT: Read this post. It's an issue with what you are using to edit the file.

SmasherMaster 04-15-2004 12:26 PM

Ok this is wierd, other usergroups can access the store but myself. (I put myself in a custom usergroup for super admins....) How do I enable it so custom usergroups can access the arcade?!

Blackangel 04-15-2004 02:24 PM

it's possible to get a price shop tax based on reputation, good reputation give a lower price, and bad reputation get a big price ... ?

BarHopper 04-15-2004 02:30 PM

Quote:

Originally Posted by SmasherMaster
Ok this is wierd, other usergroups can access the arcade but myself. (I put myself in a custom usergroup for super admins....) How do I enable it so custom usergroups can access the arcade?!

Am i missing something, but are you in the wrong thread?

I have a suggestion for 1.0. Have an ption to let certain forums, have a variable of how many points you get for replying/posting a new thread.

Link14716 04-15-2004 02:35 PM

Quote:

Originally Posted by Blackangel
it's possible to get a price shop tax based on reputation, good reputation give a lower price, and bad reputation get a big price ... ?

Not without using the promotions system. I'll put it in the suggestions box though. ;)

Link14716 04-15-2004 02:36 PM

Quote:

Originally Posted by BarHopper
Am i missing something, but are you in the wrong thread?

I have a suggestion for 1.0. Have an ption to let certain forums, have a variable of how many points you get for replying/posting a new thread.

Have you tried editing a forum? ;) The value for a forum is multiplied by the default value. Go ahead, try it out. ;)

SmasherMaster 04-15-2004 02:40 PM

AGH, I MEANT store....I was thinking about the Arcade. Sorry.

Link14716 04-15-2004 02:45 PM

Well, then we got to the bottom of your problem.

Run these two queries:
[sql]UPDATE utt_store_action SET allowedgroups='2,5,6,7,<customgroup>' WHERE shortname<>'admindonate';
UPDATE utt_store_action SET allowedgroups='6,<customgroup>' WHERE shortname='admindonate';[/sql]

Then run ushop.php?rebuildds=1.

NameWolf 04-15-2004 02:46 PM

>If you know where the old poitns were stored or know the hack pm link and he can help.

Well the old points system was PetzVB however what I really want is for ushop to assign user points based on their post count. Is this possible ?

Thanks in advance.

NW

Link14716 04-15-2004 03:06 PM

Try this:
[sql]UPDATE user SET uttpoints=posts*20;[/sql]
Change 20 to how many points per post they should recieve.

Aleksey 04-15-2004 05:12 PM

Is there like a fully working zip?

GeekyDesigns 04-15-2004 05:13 PM

Quote:

Originally Posted by Hibernated
Is there like a fully working zip?

The Zip in the first post should work fine, ive done 2 installs my self to other peoples sites that are working just fine

Aleksey 04-15-2004 05:13 PM

Thanks a lot got to go install it :)

Flow Fusion 04-15-2004 05:24 PM

I got errors accross the board. It seems the only place this hack works is in the admincp section. I don't think this works with the awards hack and arcade at all.

Parse error: parse error, expecting `')'' in /home/giftedso/public_html/gs/includes/init.php on line 487
Parsing functions.php Time before: 1082052136.22
Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 786
Time after: 1082052136.22 Time taken: 0.0035080909729

Fatal error: Call to undefined function: is_browser() in /home/giftedso/public_html/gs/global.php on line 7

arse error: parse error, expecting `')'' in /home/giftedso/public_html/gs/includes/init.php on line 487

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 786

Fatal error: Call to undefined function: exec_nocache_headers() in /home/giftedso/public_html/gs/admincp/global.php on line 37

and these are just some of the errors.

Link14716 04-15-2004 05:34 PM

Sounds like a bad init.php edit. Are you sure there is a comma (,) after the edit? If you have other items below the 'utt_store_act' in init.php before the ')', then you must add a comma after it.

Zachery 04-15-2004 05:46 PM

Quote:

Originally Posted by Link14716
Sounds like a bad init.php edit. Are you sure there is a comma (,) after the edit? If you have other items below the 'utt_store_act' in init.php before the ')', then you must add a comma after it.

I think this happens when the store hack is installed/

SmasherMaster 04-15-2004 05:47 PM

Link, thanks so much for your help with this, it worked great. I love this store now.

/me hits install

BarHopper 04-15-2004 05:49 PM

Is happy for ^.

Link14716 04-15-2004 05:54 PM

Quote:

Originally Posted by Zachery
I think this happens when the store hack is installed/

The arcade hack edits the same part.

GeekyDesigns 04-15-2004 05:58 PM

We should add an extra or differnt instruction for anyone who already has the arcade hack installed.

Flow Fusion 04-15-2004 06:45 PM

Quote:

Originally Posted by GeekyDesigns
We should add an extra or differnt instruction for anyone who already has the arcade hack installed.

And award I agree.

Link14716 04-15-2004 07:11 PM

Quote:

Originally Posted by GeekyDesigns
We should add an extra or differnt instruction for anyone who already has the arcade hack installed.

Not really. Following the instructions with copy and paste, the comma would end up there anyways.

GeekyDesigns 04-15-2004 07:16 PM

You sure? when i installed mine i had to add a comma...

Link14716 04-15-2004 07:19 PM

Only if you replaced the entire line. A little note wouldn't hurt, I guess.

tnguy3n 04-15-2004 08:12 PM

Quote:

Originally Posted by Link14716
What are you using to edit the files?

EDIT: Read this post. It's an issue with what you are using to edit the file.

That solves it. i used dreamweaver and it gave me that error.
:ermm:

Link14716 04-15-2004 09:16 PM

Quote:

Originally Posted by tnguy3n
That solves it. i used dreamweaver and it gave me that error.
:ermm:

Glad you fixed it. :)

Zachery 04-15-2004 09:17 PM

Quote:

Originally Posted by tnguy3n
That solves it. i used dreamweaver and it gave me that error.
:ermm:

Another reason never to use Dream weaver :D

Flow Fusion 04-15-2004 09:43 PM

I'm going to go through every page of this post in a few hrs and hopefully I can get ths to work with the award and arcade hack.

SavgeDusk 04-15-2004 10:04 PM

This is a pretty rad hack. My only suggestion is to be able to buy a midi for your profile and buy a custom avatar. -- Otherwise, cool.~ :]

Link14716 04-15-2004 10:07 PM

Quote:

Originally Posted by Flow Fusion
I'm going to go through every page of this post in a few hrs and hopefully I can get ths to work with the award and arcade hack.

I told you what the problem most likely was, did you just ignore my post or what?

SmasherMaster 04-15-2004 10:08 PM

Quote:

Originally Posted by SavgeDusk
This is a pretty rad hack. My only suggestion is to be able to buy a midi for your profile and buy a custom avatar. -- Otherwise, cool.~ :]

Yea midi would positivly rule, but I say, this rules more than any other hack in vB 3.0.0 so far. :)

Link14716 04-15-2004 10:08 PM

Quote:

Originally Posted by SmasherMaster
Yea midi would positivly rule, but I say, this rules more than any other hack in vB 3.0.0 so far. :)

More features are planned for 1.00. ;)

Seany 04-15-2004 10:14 PM

Sorry I don't have the time to go through all of these posts, but is there a way currently to run a query of some sort on your database that updates all the users points based on how many posts each of them have? It shouldn't be too hard right?

Thanks Link!! This hack is the best for vB. :D

Link14716 04-15-2004 10:29 PM

Quote:

Originally Posted by Seany
Sorry I don't have the time to go through all of these posts, but is there a way currently to run a query of some sort on your database that updates all the users points based on how many posts each of them have? It shouldn't be too hard right?

Thanks Link!! This hack is the best for vB. :D

https://vborg.vbsupport.ru/showpost....&postcount=498

It's untested, but it should work.


All times are GMT. The time now is 05:05 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.03078 seconds
  • Memory Usage 1,834KB
  • 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
  • (18)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