![]() |
Wow! Looks great. Now only if someone would pick up where vbTrader has left off this would be excellent.
|
I love you :) lol
It would be awsome to have the star system too... after 10 feedbacks it changes to yellow star, after 20, blue, etc. etc. etc. Maybe an About ME page too to let people create their own info page ;) Heck, why not go all out and actually do an entire auction system to work for vbulletin. I'd pay :) |
I am still running into the same problem with it not showing up in the postbit, check out this thred http://www.gpfanatix.com/forums/showthread.php?t=2.
The following is the code in my postbit_legacy. By looking at the code, it should show up under join date correct?? Quote:
|
Quote:
|
Do a complete classifieds/buy/sell/auction + your rating system.... :drool: I'd be all over that nad even pay a pretty penny.
|
Yeah, the stat page would be great.
|
You need to edit your 'postbit' template and add it there for your current style.
postbit = userinfo above the post (new vB3 style) postbit_legacy = userinfo to the left of the post (vB2 style) That's why it's not showing up... ;) Quote:
|
Pimp!!. Thanks a ton, got it working now!!
*clicky install* |
Well, my long-term goal is to create a classifieds and auction add-in, and it will definitly integrate with these ratings. But that's a lot of code, and I'm still learning all the in's-and-out's of vB3, so this is a great primer. (Yes, it will be free too when I make it.)
In the mean time that's why I wanted to get a simple "transaction" button up that can be displayed on a per-forum basis. This will give some form of knowing who the buyer & seller are, and also tie it to a thread, then allow users to rate that "transaction". The shift from a thread to a classified/auction listing shouldn't be too difficult. I got a paypal button up on the first page, thanks again guys for all your support. I try to keep the first post updated with stuff that I'm fixing/adding. I'm hoping to have 1.02 posted this weekend. Upgrading should be fairly quick and simply, it's really just changes in the PHP file, a DB modification, and maybe some phrases (so the upgrade should all be automated). Thanks for the tip Yahhoon23, I wasn't sure if it could be a direct drop-in the members template or not, I'll have to check it out for myself. PaintballM - lol, eBay is going to sue my poor arse! But stars should be easy enough to implement, and also an "about me" page. Also maybe grouping users based on their stars would be good for the stats page? :) Another big thing I wanted to have was a selection for user location, in the same style that eBay does where it's just general-areas. I know a lot of my users just type random things like "in your closet" for the defailt location field. Maybe that can tie in with the "about me" page? |
For those who do not have full size layouts, and only using something around 750-755 pixels, the leave feedback page distorts the layout. I will write a fix for those of us who have smaller layouts in a little bit.
|
open template: tratings_feedback
Replace entire code with the code in the attached TXT file. It will make it look like http://pbmessage.com/forums/traderra...12&do=feedback |
^^^ I designed it around a minimum width of ~1000 pixels (assuming users run 1024x768 as a bare minimum)...
If you want it to all fit on a smaller width, you will probably have to use a smaller font. Also, people can't see the feedback page unless they are registered, you might just want to post a screenshot for your example. The good thing is, with the minumum amount of templates, changes are simple... ;) |
Quote:
Quote:
Also, is there a panel/option in the AdminCP that I'm missing perhaps? Does one need to establish PERMISSIONS and if so, how - where? I usually don't like to ask unless there is no other obvious solution visible to me. So if anyone can assist I'd appreciate it much. |
Quote:
|
Quote:
|
OBTW - I did click 'INSTALL'.
|
Great hack!
I am looking forward tot version 1.2 :) |
Quote:
|
Well the user edit/del feature will definitly be in 1.2, and I should be able to add the usergroup stuff too.
I'll probably release 1.2 on Monday morning, not only do I have to finish the code, but also make sure the install & update scripts work properly. This update had to convert the userdate table to an int format (to be consitent with the rest of vB) so that I can restrict time editing, and now I'm having to re-do a lot of things for date grouping. |
:) What should we look for in v1.02?
|
I just finished coding up the edit/del feature. You can customize the time to whatever you want (or disable it to prevent regular user editing). Mods/admins have the right to edit/delete all feedback.
I made all the necessary changes to the DB & code, there was a lot of re-write to support the editing & permissions and such, I'm not sure if I will consolidate it before this next release or not. (I try to write functions whenever feasable.) Sunday I'll probably code in the usergoup permission stuff, convert some new text to phrases, and write the upgrade/install scripts. If nobody reports any bugs to me on my forum then I'll release v1.10 on Monday morning. I think user based editing/deletion will really help out a lot and reduce those PMs from members saying "hey, I made a mistake rating this person..." ;) One thing I *might* change in the future is a soft/hard delete option, kinda like what you can do with threads. But I'm not really sure it's worth the effort... |
How do I make it where it only shows the Trader Rating (0) in postbit for certain forums?
I only want that to show in the For Sale sections of my forum. |
Well, depending on if you have only 1 FS section or multiple, there's a couple ways you can do it, but both require editing your postbit template and using some conditionals. Also someone asked about specific user groups so I'll include those too:
Here's some examples (note, this code will be included with 1.1.0): For specific member group (or sub-group): PHP Code:
PHP Code:
PHP Code:
PHP Code:
Hope that helps out... FYI, I'm still coding the upgrade script for 1.1.0. Should be up soon though. |
Okay, version 1.1.0 has been officially released. I tested out the upgrade and install scripts, however please post your upgrade/install results (good & bad) so I know if it is working or not. :)
There are some pretty big code & template changes in 1.1.0, be sure to backup your user_rate_trade table and 3 trating_xxx templates!!! (I can't stress this enough!) The update makes several changes to the DB table, and will overwrite the trating templates! I'll be posting updated screenshots in a few. Read the CHANGELOG.txt & README.txt file more more info. |
upgrade script worked beautifully
|
Works like a charm. Thanks again.
|
Worked Perfect on mine as well using a table prefix.
Great Job. |
I went ahead and re-added the code to make the link mandatory.
|
everything works like a charm ;)
just one question but where do i add this code? am i replacing the existing code on the postbit? im not to clear on that Code:
<if condition="in_array($thread[forumid],array(49,52,53,54,55))"> |
Right, so the part where you have <div>Trader Ratings....</div>
Put the <if...> before that row, and the </if> after that row in the postbit/postbit_legacy. |
Quote:
Code:
<if condition="$post['userid']"><if condition="in_array($thread[forumid],array(49,52,53,54,55))"> |
Here, use this:
PHP Code:
|
We already hold a "rating" system on our board monitored by a moderator. Is it possible to add existing old scores into a users Trade Rating profile to get kick started? (obviously without any comments or times)
Your system installed like a dream by the way :) Mike |
Quote:
thats weird... i get this error when i used your code Code:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/httpd/vhosts/hofoufn.com/subdomains/vb/httpdocs/includes/adminfunctions_template.php(3037) : eval()'d code on line 194 |
It shouldn't generate an error... maybe try removing the '' from that first $post['userid'] You can nest it with two if's (your example), however make sure you have two closing if's (one for each), in your code above you only had one...
|
You would have to show me how the old one is maintained, I might be able to give you some tips to port it over.
Quote:
|
Quote:
|
Very nice. I'll have to click the ol' install since I put this on a forum I administer. One thing that kinda bugged me however was that the install script didn't add the templates to all the styles at once, but I was able to get around that relatively easily. Great job overall!
|
Well, since different people have a different styleid as their root, I didn't want to just pick a number out of the blue. I'll probably modify it so the user can select with a dropdown which one they want to install to in a future release. But at the same time I tried to make the whole install of the hack as automated as possible for people who don't know much about how vB works.
Also, it is my first time coding an installer, it's either that or a massive txt file with all the stuff to do... ;) |
Database error on upgrade:
Code:
Database error in vBulletin 3.0.1: |
All times are GMT. The time now is 04:32 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:
|