Today we will learn how to Edit Profile and Upload Avatar.
Open up Firefox, disable java script and login into your account.
What we see in here. User panel. We are looking for link to our profile page.
Click on it.
Update rule for profile viewing in xurl.txt
Few words about conditions for URL_TO_VIEWPROFILE rule.
There is two links on the page.
First one pointing to view profile page
http://www.xrplay.org/elgg/profile/elggtest
Second one pointing to profile editing page
Both of them contains substring
/profile/
So, we need to forbid xrumer to go to profile editing page
‘/edit’,false
We apply two conditions for URL_TO_VIEWPROFILE rule.
Let me translate it to human language.
We tell xrumer to find link on the page that contains substring /profile/ AND NOT contains substring /edit .
I hope it’s clear now.
Let’s move on.
Link to profile editing page
Now we need to add rule for profile editing page.
Very simple. Tell xrumer to find link that contains substring /profile/ AND substring /edit
Update rule for profile editing in xurl.txt
Update you profile manually and see what message Elgg display.
See the code behind
Update SUCCESS section in xmessages.txt
And final part of todays lesson is avatar upload. Similar to profile editing and profile viewing rules.
Find the link to avatar upload.
Update rule for avatar upload in xurl.txt
That’s it folks.
Time to test our work with Xrumer.
Advanced options
Important ! Priority Categories
Congratulations!
Ask questions on Xrumer Mods Discussion forum.
Download files ElggXrumerModStep4


lok says:
Get error:
pr.error: Âðåìåííî ïåðåìåùåí, moved temporarily href=http://www.getfreemacbook.info/activity
admin says:
ok. will check.
Kris says:
Good work, do you plan to make any more tutorials? Maybe some forum script?
admin says:
will do.