Try this replacement for line 761 list($memname) = $db->sql_ufetchrow("SELECT username FROM ".$user_prefix."_users WHERE username='".Fix_Quotes($row['author'])."'");
Yes, can fix review listing - didn't even occur to me when I made the other change.
Yes, now that we have gone down the path of preventing users from changing their user name, having the separate anonymous box is rather silly.
In any event, it is my intention to store reviewer IP in the db for reviews and comments, and include it in the email advice
hmm, adding a check for username in review listing adds between 5 and 20 queries to the page, depending on how many reviews are listed.
So, I need to add an extra field to the MReviews table to signify when it is a user, and check against that field - this will mean no extra db queries, but a whole series of code changes.
Since this will take longer, and since I realized I have numbered the last release incorrectly, I am releasing an update that will correct the version number and the fix_quotes issue - it will have the user profile link for members in the reviews listing, but that will use extra db queries, for now.
This 9.0.0.2 module update will add the extra field for future use, and automatically update your existing mreviews table for existing users.
However, I have already added the IP, and a lookup, in the mail you get for comments added.
Update available from downloads - ensure you backup your db before running 'edit' in modules to do the update
hmm, yet another weird 'bug' from the original code - thought I had found all of them
For some strange reason, it was set to pick up 1 review on the basis of the title which means it was picking up the highest alphabetical letter???
Buggered if I can think of any reason why you would do that - now changed to pick up on the basis of the latest review id - ideally should be by date, but dates need to eventually be converted to an integer, so I'm leaving dates out of sorts for now.
btw, nice collection you have there - can see why you have an interest in the module.
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
blackmetalcoukOffline
Joined: Mar 14, 2005
Posts: 15
Can the up/down arrow image link to a custom image in the MReviews/images folder and not the default cpgnuke arrows?
I don't want to change the default arrows as they are beinmg used elsewhere. http://www.blackmetal.co.uk/MReviews/rop=A.html
I cannot have two sub-categories with the same name, even though the main/parent categories are different.
I was trying to add an 'Other' sub-category to each main category.
Is it possible to have the 'All Reviews in our Database' A-Z menu to only link to listing with entries?
Like the sub-categories here
Please enter your server specs in your user profile! 😢
PhoenixOffline
Joined: Mar 18, 2004
Posts: 1543
Location: Netosphere