A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.
Please welcome our newest member, jevs!
Spice up your web site with the ultimate community message board solution!
Fake Id'sGet fake Id's made right now!
vBSEOSearch Engine Optimization for your VBulletin Forum.
AdminFusion
»
Creating a simple point system (problem..)
| | #1 |
| | #2 |
| | |||||
| Title: Veteran Join Date: Sep 2005 Posts: 841 ![]() | No - it shouldn't affect anything. All calls and database queries should be absolute to the table they call information from. If in doubt, add the new entity to the end of the table so that any relative calls will not be affected.
__________________ John ♫ www.theMouthPiece.com - Brass music discussion ♫ www.DeFuturo.com - Legal discussion and advice for forum & website owners ♫ www.vBXtra.com - All new and exciting vBulletin styles, customisation and conversion | ||||
| |
| | #3 |
| | |||||
| Title: Member Join Date: Sep 2005 Posts: 149 Location: Singapore ![]() ![]() | thanks, theMusicMan I have added a column to the end of the user table and now i'm wondering where should i put the query to pull out the points...i only intend to show them on the viewtopic page (under player's avatar). Any help / comment will be appreciated. Thanks.
__________________ | ||||
| |
| | #4 |
| | |||||
| Title: Apprentice Join Date: Oct 2005 Posts: 253 ![]() | Put the code in viewtopic.php en connect it to the function in de template files, so viewtopic_body.tpl should contain the HTML. | ||||
| |
| | #5 |
| | |||||
| Title: Member Join Date: Sep 2005 Posts: 149 Location: Singapore ![]() ![]() | Thanks I've get it working^^ Sometimes, the response here is better than the phpbb.com..Anyway, i would like to set up a page for my moderator to increment the points. I would like to know is it better to create another new page for this task? Further help will be appreciated.Thanks.
__________________ | ||||
| |
| | #6 |
| | |||||||
| Title: Apprentice Join Date: Oct 2005 Posts: 253 ![]() | Quote:
Quote:
| ||||||
| |
| | #7 |
| | #8 |
| | ||||||
| Title: Apprentice Join Date: Oct 2005 Posts: 253 ![]() | Quote:
| |||||
| |
| | #9 |
| | |||||
| Title: Member Join Date: Sep 2005 Posts: 149 Location: Singapore ![]() ![]() | Thanks for the comments. I think it would be easier to integrate this into the profile page of the user. Meaning that there will be three predefined image (for incrementing 1, 3, 5 points repsectively) available for the moderator if they view anyone's profile. Upon clicking the button, the points will be inserted into the database Now i just need to sort out the following stuff; 1. How to check if the viewer is a moderator? (so that to show point increment image) 2. How to update user table in a new php script? (let say after i click the image for 5 points increment, it will run point.php) Any further help would be appreciated. Thanks.
__________________ | ||||
| |
| | #10 |
| | |||||||
| Title: Apprentice Join Date: Oct 2005 Posts: 253 ![]() | Quote:
If the userlevel_id is that of an Admin or Mod it will show the images/ Quote:
| ||||||
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shawn - Digital Point Owner | Ryan | Interviews | 17 | 01-27-2007 02:08 AM |
| Point System | xpit | Announcements, Questions, and Feedback | 9 | 11-27-2005 10:28 AM |
| [phpBB News] phpBB announces its community coding projects | Industry News | phpBB | 0 | 11-18-2005 08:00 AM |
