Redirecting after joining

I have my site set up so a member must upload a photo upon joining, it's a mod that's in the marketplace. After they join, they are then redirected to http://www.mydomain.com/m/avatar/&join_text=_USER_ACTIVATION_SUCCEEDED. The problem is,members are bypassing of the cropping of the photo, so the default avatar is displayed. I've added in BOLD red text Please crop your photo below to complete your profile, and have even added to animated arrows pointing down, but they STILL fail to crop their photo. I'd like them to be redirected to the text at the bottom of the page where it says "If you are happy with the preview, click the button below to add the new photo" after joining, I know how to jump to a paragraph on a page, I just don't know where to find the code that redirects to m/avatar/&join_text=_USER_ACTIVATION_SUCCEEDED. Anyone know where I can find this?

Quote · 29 Jun 2011

the file you need to edit is BxAvaModule.php you will fined it under "modules\boonex\avatar\classes\"

search for

header('Location: ' . BX_DOL_URL_ROOT . $o->permalink('modules/?r=avatar/') .

replace the whole line (490) with

            header('Location: ' . BX_DOL_URL_ROOT . $o->permalink('modules/?r=avatar/') . '&join_text=' . $sStatusText . "#mylink" ); // redirect to upload avatar page
 

and edit the text in the crop_tool.html (found on modules\boonex\avatar\templates\base\ ) to be

<a name="mylink"> <bx_text:_bx_ava_crop_preview_desc /> </a>


didnt test that but should work

thats all

nazzal

if i did help you .. it wont hurt to go to my profile and add a recommendation for me ;)
Quote · 29 Jun 2011

tested it and it is workingCool

 

nazzal

if i did help you .. it wont hurt to go to my profile and add a recommendation for me ;)
Quote · 29 Jun 2011

Thanks nazzal, works great! If they skip their avatar at this point, I don't even want them as a member lol

Quote · 29 Jun 2011
 Lol .. Totally true Good luck Nazzal
if i did help you .. it wont hurt to go to my profile and add a recommendation for me ;)
Quote · 29 Jun 2011

Question I have is what about the users who you require to do email verification?  The are brought to the page for Avatar. They click on the message for the verification, and log into the site, and are just dropped to their account page.I already make the photo mandatory on the join.php

Can there be a way for them to be directed upon login to the avatar upon clicking on the verification link in the message?

Even Monkeys and Retards get it right with repitition! - Author Unknown
Quote · 26 Aug 2011

I have my site set up so a member must upload a photo upon joining, it's a mod that's in the marketplace.

Hello Ron'

can you please give the link to the mod in market place,, I am searching this since.......

Quote · 20 Oct 2011

 

I have my site set up so a member must upload a photo upon joining, it's a mod that's in the marketplace.

 

Hello Ron'

can you please give the link to the mod in market place,, I am searching this since.......

Quote · 20 Oct 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.