![]() |
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 07:43 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:
|