![]() |
Quote:
|
How can I specify an amount of a certian item for sale?
|
I am having a BUG here that i need help fixing guys'. When i deleted a category lets say i deleted category #5 in the itemshop and want to add another one..when i add a new category it displays add category #5. Ok no problem there. But when i want to add ITEMS it wants to add items into category #6. Those links keep climbing in numbers and dont match the number of actual categories. I have tried entering a manual URL pointing to CAT #5 but still doesnt add the items i want. Any help? :)
Also how can i display MORE than 5 images? I currently own 6 items but it only displays 5. |
up
|
up
|
up
|
lol whoops... hit submit too many times... SORRY :(
|
How can you set the quantity of an item?
|
Hi,
Installed this hack and works great. Is it possible to show the credits/points in the postbit template ? If yes, how can i do this ? Regards Michel Vermaat |
I can't understand why you are writing "works great" while this is generating hundreds of query's in the "showthread"
Or i am missing an update that is solving this problem, or some members here don't look at the query's. I will uninstall this if there's no solution for it. :( |
btw, how to uninstall this hack?
|
step back of tutorial those hack ;) or you was make a backup before make add to vb?
|
Quote:
in itemshop.php find at the beginning: $bankval=floor($bankval*(pow(1.1,$presenttime))); the interest rate is definied by this number: 1.1 if you want 5% write 1.05 if you want 2% xrite 1.02 if you want 25% write 1.25 etc... |
Whats the code to add what you have bought into your postbit??
|
Merjawy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I don't know if this works for everyone or not.. but I have managed to make two admin folders.. one is old like vB2.0.0 or something like that.. and when I need to check passwords I use that side making show command line to show password in config is there and set to 2. and I was able to see the passwords both ways.. crypted and also have seen the plain text on vB2.2.6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ now that is interesting..... how did you do that ?? could you please tell with some more details ??? |
Quote:
|
Okay, I hope this wasn't already asked... is it possible to allow access to certain items based upon values from the user info, such as a custom field? I'm running a board for multiple different games, where the job classes are related to what game they play, and their ranks are affected accordingly.
However, these games are of drastically different natures. One occurs in a fantasy setting while the next is modern warfare, and another 2 are sci-fi futuristic. I'd like to have users be able to gain only equipment appropriate to their setting, so that there won't be a fantasy elf with a rocket launcher, or an alien conquerer fighting with Sword and shield. Any ideas? |
Quote:
|
Riddel, I don't know the answer to your question, but i'm curious as to why you would want to take peoples money away from them for using the bank? If you done this, no one would use the bank!!! :)
|
because there is a huge inflation... and so i decided the stock market should crash for a day
|
*LAUGHS*
That's priceless. Riddel, you're great. |
Im hoping someone might be helping, because im sure viv isnt giving an y more support on this. Im getting a database error when a user trys to donate. i have this on 2 of my other forums and have no problems what so ever. I have un-installed and re-installed hoping it would fix 4 times with no success!
heres there error im getting: [php}Database error in vBulletin 2.2.7: Invalid SQL: SELECT field9 FROM userfield WHERE userid=MjpbUktdU09OT0ZTQU06ZTA5Mjc4ZmM0NDlhNjI1MTY 0N2IwZDExMGIzMjIyMjA6MTA6OjA6MDowOjA6OjQwOTY= mysql error: You have an error in your SQL syntax near '' at line 1 mysql error number: 1064 Date: Friday 27th of September 2002 01:31:00 AM Script: http://www.clanbrats.com/forums/forums/itemshop.php Referer: http://www.clanbrats.com/forums/item...=donate&user=7[/php] i know nothing about PHP....but looking at the error, looks like there is a problem with the $iddonate somehow. the userid doesnt look like its coming up right. also, where the script URL is...i dont know how or why it has forums twice in the URL...could that cause the problem? please offer any help or ideas how to fix :( |
please anyone have an idea??
|
Quote:
Edit: I just tried the fix posted earlier in the thread, and it still doesn't work. =/ |
Nevermind all of that
I think I got it to work fine ^_^ thanks a lot, a great hack |
Database error in vBulletin 2.2.7:
Invalid SQL: SELECT field5 FROM userfield WHERE userid=1 mysql error: Unknown column 'field5' in 'field list' mysql error number: 1054 Date: Saturday 12th of October 2002 01:20:34 AM Script: http://www.liquidflo.com/rap/rap/itemshop.php Referer: the fields are rite i dunno whats wrong installed many haks before so i knwo what iam doing but ia dunno what this is ? can someoen help (this happens when i try to go to teh item shop which would be www.liquidflo.com/rap/itemshop.php) |
Hmmm, this was working all good for me, until recently when my members stopped earning interest. Is there a reason why they aren't getting their interest in the bank anymore?
|
this happens everytime i try to donate, iv'e installed this hack on 4 different forums and im getting the same thing everytime :(
Database error in vBulletin 2.2.8: Invalid SQL: SELECT field5 FROM userfield WHERE userid=Array mysql error: Unknown column 'Array' in 'where clause' mysql error number: 1054 Date: Monday 21st of October 2002 09:06:06 PM Script: http://www.girlzclan.com/forums/forums/itemshop.php Referer: http://www.girlzclan.com/forums/item...donate&user=11 |
is it possible to show your points on the postbit??
|
Quote:
$points[points] |
i tried that but i get nothing there.. same with the items.
|
ok i fixed the items not showing on the postbit.. but i still can get my points to show up..
|
Hello everyone,
Well, this one's been a much-traveled hack. I installed this on version 2.2.8, even knowing there were problems, because I wanted to see if I could find out some way of helping with a couple of the problems - this is a very cool hack and I hate to see it go to waste. One of the main concerns appears to be the query load. Because of the way the hack works, even with Link's fix, there is an insane amount of queries -per post- to process the display of items. Vivi actually saw that this was a problem and posted a fix wayyy back in the early pages of the thread. However, the fix missed a step, and I wasn't able to properly get a good display going without the load until recently. Basically, I applied Vivi's fix, and included the one step he missed when he first posted it. I believe this should help on the server load and reduce the queries to nil. Since I have limited experience with php and mySQL, try this out at your own risk. Be sure to backup the files you're hacking. 1. showthread.php edits (do this step TWICE since there are two instances in the code) In showthread.php, find the following: Quote:
Quote:
Quote:
Quote:
find the original hack of functions.php for the item shop, as instructed by the installer. It should be something like this (link's fix is similar-looking): Quote:
Quote:
You should now have a less bloated bunch of code to process the images and items for each poster in a thread. As an added bonus, since the items_user is now LEFT JOIN'd to the $post array, you can individually call items by fieldname in the array. I do this because I don't like to see icons, but names. It varies depending on your categories and such, but if you use $post[item1] When editing your postbit, you should get the text name for the item in that category in your postbit, if you want a different one, try [item2], [item3], etc. I hope this works and that it helps some of you out. :) |
is it possible to show the users items in a seperate page with no other PHP at all???
will use a button then to pop up a window displaying the items... any help would be appreciated... and wont this lower the amount of query loads on the showthread???? and if this can go into a new page what can i delete of the old hacked php code to gt rid or reduce the query load?? all thanks :) |
can anyone make an add on to this hack
like when a memner is opening a store, he can upload mini images his self which will put beside the item he wants it to be. |
anyone?
|
i think this thread is dead mate... try posting a new topic??
|
can i not mod this hack so that all the users items can be viewable in a pop up page??
if anyone can please tell me, Thanx |
question how can I reset the money on the bank?
|
Quote:
so basicly, in theory, yes, but it would need some work on your behalf. |
All times are GMT. The time now is 09:12 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|