Status
Not open for further replies.

Morrus

Customer
I've been slowly tweaking the layout of the quiz system to look (at least in my eyes) a little nicer. YMMV, of course, but I have stumbled across a question.

Neverwinter Competition - EN World: RPG News & Reviews

Re. the Comments section at the bottom - how do I increase the number of comments? I appreciate that it's not a current feature, and I'm not asking for a product update or new feature, just a pointer at what I'd need to edit to set that at, say, 10.

Thanks!
 
You would have to edit a file, in ftp navigate to dbtech/vbquiz/actions and find the file quiz.php Open that file and then search for the following:

Code:
		$comment_query = $vbulletin->db->query_read("
			SELECT 
				* 
			FROM " . TABLE_PREFIX . "dbtech_vbquiz_comments 
			WHERE 
				quiz_id = " . intval($id) . " 
			ORDER BY 
				comment_date DESC 
			LIMIT 
				[COLOR="#FF0000"]5[/COLOR]
		");

Where you see 5 change that to 10 or a number of your choosing. Do note though this will have to be done each time you upgrade the mod, as the new files will overwrite the previous ones on the server.
 
Status
Not open for further replies.

Similar threads

  • Locked
  • Suggestion Suggestion
Replies
10
Views
1K

Legacy vBQuiz

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
435
Customer rating
0.00 star(s) 0 ratings
Top