Xrumer School

Xrumer How To, Xrumer Mods, Tutorials, Tips and Tricks.

Elgg Xrumer Mod Creation Tutorial – Step 4 Profile Editing & Avatar Upload

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.

 

image

 

Click on it.

 

image

 

Update rule for profile viewing in xurl.txt

 

image

 

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

image

 

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

 

SNAGHTML10ac6b86

 

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

 

image

 

Update you profile manually and see what message Elgg display.

 

image

 

See the code behind

 

image

 

image

 

Update SUCCESS section in xmessages.txt

 

image

And final part of todays lesson is avatar upload. Similar to profile editing and profile viewing rules.

Find the link to avatar upload.

 

image

 

image

 

Update rule for avatar upload in xurl.txt

 

image

That’s it folks.

Time to test our work with Xrumer.

 

Advanced options

SNAGHTML10c3cf76

 

Important ! Priority Categories

 

SNAGHTML10d8e087

 

Congratulations!

 

See video on Youtube.

 

Ask questions on Xrumer Mods Discussion forum.

 

Download files ElggXrumerModStep4



  • lok says:

    Get error:
    pr.error: Âðåìåííî ïåðåìåùåí, moved temporarily href=http://www.getfreemacbook.info/activity

  • Kris says:

    Good work, do you plan to make any more tutorials? Maybe some forum script?

Xrumer Mods and Services Review Rating: 10 out of 10 based on 9 reviews.