PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old November 5th, 2010, 11:20 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 169
Issue with usernames with '&'

Just realized that users that have '&' inside are modified to '&'.

Could this be a bug? It seems to happen only if the thumb is displayed, inside the user album it is alright.
Attached Images
File Type: jpg 4cd3d95f.jpg (52.1 KB, 6 views)
myuption is offline   Reply With Quote
Old November 5th, 2010, 02:11 PM   #2 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
Good find, its a leftover..
quickfix: open forums/includes/functions_gallery.php

find:
Code:
Content visible to verified customers only.
you will find it 2 times.

both should be replaced by:
Code:
Content visible to verified customers only.
You will say why do we need the stripslashes? its more or less deprecated in vb code. Yes, but if you have an old vbgallery, that you upgraded, the username in versions 2.1 etc.. was saved with addslashes... so if you upgraded you could run into problems.

Then open gallery/browseimages.php
find:
Code:
Content visible to verified customers only.
replace with:
Code:
Content visible to verified customers only.
(just add the // in front of the line)

in the same file find:
Code:
Content visible to verified customers only.
replace with:
Code:
Content visible to verified customers only.
finally, last one... its a template edit:
open template ADV_GALLERY_BROWSEIMAGES

in that template find:
Code:
Content visible to verified customers only.
replace with:
Code:
Content visible to verified customers only.
in profile block there are 3 more fixes needed:
open template adv_gallery_member_block
find:
Code:
Content visible to verified customers only.
replace with:
Code:
Content visible to verified customers only.
then in same template find:
Code:
Content visible to verified customers only.
replace with:
Code:
Content visible to verified customers only.
then finally open:
forums/includes/vbgallery/gallery_profile_block.php
find:
Code:
Content visible to verified customers only.
replace with:
Code:
Content visible to verified customers only.
thats the ones I found...

Luc

Last edited by Luciano; November 5th, 2010 at 05:11 PM.
Luciano is offline   Reply With Quote
Old November 8th, 2010, 01:22 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 169
WOW! Several changes, thanks Luc, will start modifying
myuption is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload Description Issue & MrDaniel Photopost Pro Bug Reports 6 October 7th, 2008 05:58 PM
PP 6.1 & vB 3.7.0 Integration ISSUE pc014153 Photopost Pro Installation & Upgrades 4 May 29th, 2008 08:07 PM
HTML Markup Usernames & Moderator Column imported_Lee Installs and Upgrade - vBulletin 3.5.X 0 September 16th, 2005 06:45 PM
The "&" sign in usernames PhoenixDown21 Bugs From 1.0.0 2 April 19th, 2005 12:07 PM


All times are GMT -5. The time now is 06:55 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0