Previous Thread
Next Thread
Print Thread
Rating: 5
Page 1 of 3 1 2 3
Finished-[6.5] Feature Shop 1.7
#281075 10/23/2004 1:06 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
Mod Name / Version: Feature Shop 1.7

Description: Are you ever not around when Someone needs a Title Changed or Their Name Changed or Anything else that requires your presence as Admin? Ever wanna Hold Auctions and Offer things up for Sale? Well Here it is.. The UBB Threads 6.5 Shop..

Working Under: UBB.Threads 6.5

Mod Status: Finished

Any pre-requisites: Ubb THreads 6.5

Author(s): scroungr

Date: 10/22/04

Credits:

Files Altered: /ubbthreads/languages/english/online.php, /ubbthreads/languages/english/showflat.php, /ubbthreads/languages/english/showthreaded.php, /ubbthreads/languages/english/editdisplay.php, addpost.php, adduser.php, dopoll.php, showthreaded.php, showflat.php, changedisplay.php, deletepost.php, changebasic.php, /ubbthreads/templates/default/showthreaded.tmpl, /ubbthreads/templates/default/showflat.tmpl, /ubbthreads/templates/default/editdisplay.tmpl


If using IIP in the shoutaddpal.php


New Files: Shop Language Files, Shop Template Files, Shop PHP Files

Database Altered: YES

Info/Instructions:
Detailed Instructions enclosed

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.

Attached Files
121815-theshop.zip (0 Bytes, 305 downloads)
Last edited by scroungr; 03/07/2005 7:36 PM.
Sponsored Links
Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281076 10/23/2004 9:50 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Sounds cool, but what does it do? Offer things like name changes for a price?


- Allen wavey
- What Drives You?
Re: Finished-[6.4-6.5] Feature Shop 1.6
SurfMinister #281077 10/23/2004 11:48 AM
Joined: Nov 2001
Posts: 10,369
JoshPet Offline
I type Like navaho
Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, this sounds awesome-- please elaborate.

Re: Finished-[6.4-6.5] Feature Shop 1.6
Daine #281078 10/23/2004 11:56 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
Yes you set in the admin Panel what points you want to give for such things as taking Polls, Making Polls, Doing Shouts, How many words or Characters a post has.. and subtract em if the user deletes a post.. so these points build up and you can purchase items that you put up in the Item Section or Purchase Features such as ChangeName ChangeTitle Larger Signatures, Images in Signatures, Glowing Names (Flashes in Mozilla), Shadowed Names ( backgrounded in Mozilla), etc.. You can also Auction Off items you buy and when the auction is over you get the points and the user gets the item...

see it for yourself at

CT Shop

Login Threadsdev
Password Threadsdev

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281079 10/23/2004 1:17 PM
Joined: Mar 2001
Posts: 644
Zackary Offline
Member
Offline
Member
Joined: Mar 2001
Posts: 644
Interesting idea Scroungr. Very cool.

Sponsored Links
Re: Finished-[6.4-6.5] Feature Shop 1.6
#281080 10/23/2004 9:08 PM
Joined: Oct 2004
Posts: 16
kristiet Offline
Junior Member
Offline
Junior Member
Joined: Oct 2004
Posts: 16
Very kewl! can you actually put items "for sale" in there? like a forum garage sale of sorts?

how do you go about collecting points on your site?

Re: Finished-[6.4-6.5] Feature Shop 1.6
Bill Holt #281081 10/23/2004 9:12 PM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
in a sorts.. say you have a widget that you want to sell.. just add an item called widget and sell it.. allows ya to set stock levels on it also.. and then when someone buys the widget it will show up in their profile that they bought a widget... will also subtract the widget from stock.. its not a powerful one like say Photopost's Classifies but it allows for a little fun.. check it out at Couch Tomatoe

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281082 10/24/2004 11:15 AM
Joined: Sep 2003
Posts: 803
DrChaos Offline
Coder
Offline
Coder
Joined: Sep 2003
Posts: 803
A few questions.

There is an option to change names and colors of names and add shadows to names. When playing with it, I added a color and glowing text to my name and it also add the color and glowing test to the custome title for me Is there a way to make it only change the name.

When I was done playing with it, I used the option to clear the siginiture and it didnt do anything to it. my name is still green and glowing

Lastly...
the only way to see the changes is to go into the my home section and on the very bottom you have to click the box to view sigs purchased in the shop. Is there a sql That can run to set everyone to checked and make all new users auto check yes?

Re: Finished-[6.4-6.5] Feature Shop 1.6
Duck #281083 10/24/2004 11:35 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
clear the siginiture doesn't clear titles or names it only clears the signature look at the script you should be able to see how to add other options...


to change only one.. look at the code and comment out the part you don;t want to change...

and lastly you can run

UPDATE w3t_ShopMembers SET titleeffectstatus = 'ON'

that will update all users so they can see the effects and can then turn it off..

to set it to default ON for all new users find the following adduser.php

// -------------------------
// Build Board Query For Shop Mod & Insert Points
// Add user to Shop
$query="
INSERT INTO {$config['tbprefix']}ShopMembers
VALUES ('', '$Uid', '$Displayn_q', '$Title_q', '$Picture_q', '', '', '', 'OFF', '$Color_q', 'OFF', 'OFF', 'OFF')
";
$sth = $dbh -> do_query($query);
// End of Build Board Query For Shop Mod & Insert Points
// -------------------------

change to

// -------------------------
// Build Board Query For Shop Mod & Insert Points
// Add user to Shop
$query="
INSERT INTO {$config['tbprefix']}ShopMembers
VALUES ('', '$Uid', '$Displayn_q', '$Title_q', '$Picture_q', '', '', '', 'OFF', '$Color_q', 'OFF', 'OFF', 'ON')
";
$sth = $dbh -> do_query($query);
// End of Build Board Query For Shop Mod & Insert Points
// -------------------------

if ya even wanna give newbies some credits for applying set <CREDITS VALUE> to a number like 1000 which will give newusers 1000 credits to spend..


// -------------------------
// Build Board Query For Shop Mod & Insert Points
// Add user to Shop
$query="
INSERT INTO {$config['tbprefix']}ShopMembers
VALUES ('', '$Uid', '$Displayn_q', '$Title_q', '$Picture_q', '', '<CREDITS VALUE>', '', 'OFF', '$Color_q', 'OFF', 'OFF', 'ON')
";
$sth = $dbh -> do_query($query);
// End of Build Board Query For Shop Mod & Insert Points
// -------------------------

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281084 10/24/2004 4:38 PM
Joined: Sep 2003
Posts: 803
DrChaos Offline
Coder
Offline
Coder
Joined: Sep 2003
Posts: 803
There is something that is replaced that allows all your post to reflect changes when you edit it. I edited my title and now it doesent reflect on all the older posts.

Sponsored Links
Re: Finished-[6.4-6.5] Feature Shop 1.6
Duck #281085 10/27/2004 3:14 AM
Joined: Aug 2004
Posts: 82
minto Offline
Power User
Offline
Power User
Joined: Aug 2004
Posts: 82
nobody gets any points when they post? any ideas? but everything works i gave myself 1000000 points haah and i got a custom name and it works ok. but points dont add up

Last edited by minto; 10/27/2004 3:19 AM.
Re: Finished-[6.4-6.5] Feature Shop 1.6
square_peg #281086 10/27/2004 7:30 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
did you add the part in the instructions to addpost in the right area? did you set the words and letters value to something?

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281087 10/27/2004 12:33 PM
Joined: Aug 2004
Posts: 82
minto Offline
Power User
Offline
Power User
Joined: Aug 2004
Posts: 82
yeah and i double checked the addpost.php had all the right code changed. i think it be the database as on one fo the it said that it allready existed so i guess it [censored] upo there

Re: Finished-[6.4-6.5] Feature Shop 1.6
square_peg #281088 10/27/2004 12:34 PM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
Hmmm well I can take a look later.. will need an account with admin rights though and possibly ftp access.. shoot me a PM

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281089 10/27/2004 12:38 PM
Joined: Aug 2004
Posts: 82
minto Offline
Power User
Offline
Power User
Joined: Aug 2004
Posts: 82
ok thanks so much my friend. i will send you a pm. sorry im such a n00b im just learning

Re: Finished-[6.4-6.5] Feature Shop 1.6
square_peg #281090 10/27/2004 10:08 PM
Joined: Aug 2004
Posts: 82
minto Offline
Power User
Offline
Power User
Joined: Aug 2004
Posts: 82
also mate i when u reset your sig it does the following

--------------------


--------------------
test goes here


it adds 2 lines of --- and u cant get rid of it unless you have no sig at all

Re: Finished-[6.4-6.5] Feature Shop 1.6
square_peg #281091 10/28/2004 6:05 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
clearing your sig puts "test goes here" ??

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281092 10/28/2004 6:50 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
Hmm jest rechecked the upload

$query="
UPDATE {$config['tbprefix']}ShopMembers
SET money=money-'$itemsarray[price]', signature = ''
WHERE uid='$user[U_Number]'
";
$dbh -> do_query($query);


these lines tell the signature field of ShopMembers to be cleared to '' and thats where the signature is now getting pulled from. Please double check the scripts involved for the correct changes Let me know what happens and I will try and get on your server again

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281093 10/28/2004 7:52 PM
Joined: Aug 2004
Posts: 82
minto Offline
Power User
Offline
Power User
Joined: Aug 2004
Posts: 82
what i mean is when u reset your sig it makes to lines of --- eg for you sig it would look like this after u reset it. its blank but once u type stuff in your box it will turn out like this


--------------------


--------------------
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Re: Finished-[6.4-6.5] Feature Shop 1.6
square_peg #281094 10/28/2004 9:27 PM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
Hmm will have to check that...

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281095 10/29/2004 7:45 AM
Joined: Sep 2003
Posts: 803
DrChaos Offline
Coder
Offline
Coder
Joined: Sep 2003
Posts: 803
Im still having some issues. Mostly the way names are changed. Me and another admin bought a name change and never cold get it back to normal.

last night I restored the original files so I can start over again to make sure I did everything correctly. I removed everything but the sql that was created. And we still have the borked names but now they show normal on the online page but all the posts and any new posts we make, it still uses the colored and glowing texts we bought.

as far as removing the sql that was created during install, The only ones I see are these,

w3t_ShopAuctionItems
w3t_ShopBank
w3t_ShopCats
w3t_ShopFeatures
w3t_ShopItems
w3t_ShopMemberItems
w3t_ShopMembers
w3t_ShopSettings
w3t_ShopVotes

Can I just remove the entries?

Re: Finished-[6.4-6.5] Feature Shop 1.6
Duck #281096 10/29/2004 8:35 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
sure. Remove those tables. And restore the changed scripts back to normal. The deatures section could be tweaked a little. You can also turn them off.. you don't have to offer all the features..

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281097 10/29/2004 10:24 AM
Joined: Sep 2003
Posts: 803
DrChaos Offline
Coder
Offline
Coder
Joined: Sep 2003
Posts: 803
true. its a great hack and ill certainly add it back. I just want to make sure I did it exactly right. most times i find that I replaced something when I should have added below it ;-\

I also realised that I dont have to remove them. In the install script it has, "if table exists replace it" or something like that. I think it will just overwrite whats there.

Re: Finished-[6.4-6.5] Feature Shop 1.6
Duck #281098 10/29/2004 2:47 PM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
okay Minto.. I tried it again on my server and there is no way to get

--------------------


--------------------

on my server.. if ya want me to take another look let me know..

Re: Finished-[6.4-6.5] Feature Shop 1.6
Duck #281099 10/29/2004 2:48 PM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
[]DrChaos said:
Im still having some issues. Mostly the way names are changed. Me and another admin bought a name change and never cold get it back to normal.

last night I restored the original files so I can start over again to make sure I did everything correctly. I removed everything but the sql that was created. And we still have the borked names but now they show normal on the online page but all the posts and any new posts we make, it still uses the colored and glowing texts we bought.

as far as removing the sql that was created during install, The only ones I see are these,

w3t_ShopAuctionItems
w3t_ShopBank
w3t_ShopCats
w3t_ShopFeatures
w3t_ShopItems
w3t_ShopMemberItems
w3t_ShopMembers
w3t_ShopSettings
w3t_ShopVotes

Can I just remove the entries? [/]

yeah I never did add a feature that will reset your name back to normal. Maybe I will.

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281100 10/29/2004 9:40 PM
Joined: Sep 2003
Posts: 803
DrChaos Offline
Coder
Offline
Coder
Joined: Sep 2003
Posts: 803
:-\

Still a great mod

Re: Finished-[6.4-6.5] Feature Shop 1.6
Duck #281101 10/30/2004 1:15 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
I reworked alot tonite will be uploading a new version later this weekend.. now pulls things correctly

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281102 10/30/2004 11:38 PM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
okay made some major changes to the way it pulls the information. will allow for easier integration. I removed the 6.4 files since all that changed from 6.4 to 6.5 was the cookies.. you can still adapt this easily to 6.4 by looking at where I placed the strings.. also I removed it from the postlist.php and online.php and showmembers.php because its pretty useless in there..

What really makes this shine is the ability to buy/sell/ and auction other things besides the features.. you can also create seperate categories and even subcategories

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281103 10/31/2004 4:35 PM
Joined: Sep 2003
Posts: 803
DrChaos Offline
Coder
Offline
Coder
Joined: Sep 2003
Posts: 803
a definite on the list for tonight

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281104 01/15/2005 2:19 PM
Joined: Jun 2002
Posts: 670
donJulio Offline
Code Monkey
Offline
Code Monkey
Joined: Jun 2002
Posts: 670
I'm thinking about adding this scroungr, but I have a question. I looked at your site and in the feature shop you can get 100x100 or 150x150 avatars. If I have my max avatar size set to 80x80, does this mod override that?

Because if I have to set the maximum avatar size 10 150x150, couldn't people just add a bigger avatar from their profile?

Thanks!

Re: Finished-[6.4-6.5] Feature Shop 1.6
luan #281105 01/18/2005 9:25 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
yes it does override that 80x80 and yes if you set it to 150x150 in threads it will override it.. and if ya want you can disable any functions ya don't wanna use

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281106 01/18/2005 11:15 PM
Joined: Jun 2002
Posts: 670
donJulio Offline
Code Monkey
Offline
Code Monkey
Joined: Jun 2002
Posts: 670
[]scroungr said:
yes it does override that 80x80 and yes if you set it to 150x150 in threads it will override it.. and if ya want you can disable any functions ya don't wanna use [/]

This may be a dumb question, but I would imagine that since you can sell the option of an image in a user's signature, the idea is to have images in signatures turned off. Is that right? Sorry to ask here, but I haven't even read the instructions yet, preferring to wait for 6.5.1 final before touching this. Thanks!

Re: Finished-[6.4-6.5] Feature Shop 1.6
luan #281107 01/19/2005 12:33 PM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
yeah I have signatures in images turned off unless they buy em with this mod

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281108 01/22/2005 5:51 AM
Joined: Feb 2003
Posts: 196
salim Offline
Member
Offline
Member
Joined: Feb 2003
Posts: 196
I have installed the files and did the installation. I went to admin settings and I didnt see anything, where in the admin settings???!?!

Re: Finished-[6.4-6.5] Feature Shop 1.6
me_oh_my #281109 01/22/2005 11:27 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
are you logged in as admin?

did you go to the footer of the feature shop? should say
Admin Panel - New Category - Search Shop - Shop Stats

click on the icon or the name..

Re: Finished-[6.4-6.5] Feature Shop 1.6
234234 #281110 01/23/2005 2:59 AM
Joined: Feb 2003
Posts: 196
salim Offline
Member
Offline
Member
Joined: Feb 2003
Posts: 196
Yes I am logged in as an admin and I dont see any footer of feature shop.

Where is it exactly, i am using 6.5, is it in the control panel???.

Re: Finished-[6.4-6.5] Feature Shop 1.6
me_oh_my #281111 01/23/2005 3:00 AM
Joined: Feb 2003
Posts: 196
salim Offline
Member
Offline
Member
Joined: Feb 2003
Posts: 196
How do I re-do this all again, so many tables of feature shop has been isntalled and if i run the install again it doesnt allow me.

Re: Finished-[6.4-6.5] Feature Shop 1.6
me_oh_my #281112 01/23/2005 3:08 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline OP
Old Hand
OP Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
basically the way I created this mod is that everything is in the shop and not much in threads except for some links and some code for points..

so its safe to delete the following tables

ShopMemberItems
ShopAuctionItems
ShopBank
ShopCats
ShopItems
ShopSettings
ShopVotes
ShopMembers
ShopFeatures


then rerun the install shop script and select new

Re: Finished-[6.4-6.5] Feature Shop 1.6
square_peg #281113 01/23/2005 3:12 AM
Joined: Feb 2003
Posts: 196
salim Offline
Member
Offline
Member
Joined: Feb 2003
Posts: 196
oops, ok found it, its in shopadmin.php

thanks, now let me continue the installation and see how it goes

Re: Finished-[6.4-6.5] Feature Shop 1.6
square_peg #281114 01/23/2005 4:17 AM
Joined: Feb 2003
Posts: 196
salim Offline
Member
Offline
Member
Joined: Feb 2003
Posts: 196
Hi

I have done everything and i get this in my forum entrance, please tell me where did I go wrong?



$ubbt_lang['shopedit'] = "Editing"; $ubbt_lang['shopauctionitem'] = "In the Auction House"; $ubbt_lang['all_admin'] = "Performing Administrative Duties"; $ubbt_lang['shop'] = "Entering the Shop"; $ubbt_lang['shopcategory'] = "Perusing the Shop"; $ubbt_lang['shopitem'] = "Buying an Item in the Shop"; $ubbt_lang['shopstats'] = "Looking at the Shop Stats"; $ubbt_lang['shopsearch'] = "Searching the shelves of the Shop"; $ubbt_lang['shopbank'] = "Counting his money";

Page 1 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,529
Posts293,721
Members13,834
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 143
Topics Created 0
Posts Made 1
Users Online 2
Birthdays 17
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,795
Greg Hard 4,625
Top Posters(30 Days)
isaac 3
Top Likes Received
isaac 33
Gizmo 8
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 3
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20200217.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.113s Queries: 97 (0.049s) Memory: 3.6368 MB (Peak: 4.0841 MB) Data Comp: Zlib Server Time: 2020-02-17 21:57:41 UTC
Valid HTML 5 and Valid CSS