Hello:
I want to ask a question . how to add a setting block in my account.because i want member see these informations in new block ."upload photo .upload music.upload video.my friends.email box. edit profile.unregister etc ". so member can read it clearly.
hope to hear good news from you .thanks
regards
Ling
|
Builders/Pages Builder => Account Page Add a New HTML Block on your Account Page and fill out as below:
Caption Lang Key: _AccountShortcuts
Visible for: Member
HTML-content: (Click on the HTML button on the editor to add html code)
<div align="left"> <table width="450" border="0"> <tbody> <tr> <td width="170"> <img src="/templates/tmpl_uni/images/icons/mbs.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/pedit.php">Edit Profile</a></span><br /> <img src="/templates/tmpl_uni/images/icons/edit.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/profile_customize.php">Customize Profile</a></span><br /> <img src="/templates/tmpl_uni/images/icons/action_photos.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/upload_media.php?show=photo">Upload Profile Photo</a></span> <br /><br /> <img src="/templates/tmpl_uni/images/icons/action_friends.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/contacts.php?show=friends">Friends</a></span> <br /><br /> <img src="/templates/tmpl_uni/images/icons/pph.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/uploadSharePhoto.php">Upload Shared Photo</a></span><br /> <img src="/templates/tmpl_uni/images/icons/pmu.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/uploadShareMusic.php">Upload Shared Music</a></span><br /> <img src="/templates/tmpl_uni/images/icons/pvi.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/uploadShareVideo.php">Upload Shared Video</a></span><br /> </td> <td width="130"><img src="/templates/tmpl_uni/images/icons/post_new.png" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/blogs.php?action=new_post">Post Blog</a></span><br /> <img src="/templates/tmpl_uni/images/icons/pts.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/blogs.php">All Blog</a></span> <br /><br /> <img src="/templates/tmpl_uni/images/icons/post_new.png" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/classifiedsmy.php?PostAd=1">Post Ad</a></span><br /> <img src="/templates/tmpl_uni/images/icons/edit.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/ads/my">My Ads</a></span><br /> <img src="/templates/tmpl_uni/images/icons/cls.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/ads">All Ads</a></span> <br /><br /> <img src="/templates/tmpl_uni/images/icons/post_new.png" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/articles.php?action=addarticle">Post Article</a></span><br /> <img src="/templates/tmpl_uni/images/icons/ars.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/articles">All Articles</a></span><br /> </td> <td width="150"> <img src="/templates/tmpl_uni/images/icons/action_send.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/mail.php?mode=inbox">Mail Inbox</a></span><br /> <img src="/templates/tmpl_uni/images/icons/kiss.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/mail.php?mode=outbox">Mail Outbox</a></span><br /> <img src="/templates/tmpl_uni/images/icons/compose.png" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/compose.php">Write A New Letter</a></span> <br /><br /> <img src="/templates/tmpl_uni/images/icons/out.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/contacts.php?show=view&list=me">Viewed Me</a></span><br /> <img src="/templates/tmpl_uni/images/icons/action_fave.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/contacts.php?show=hot&list=me">Hotlisted Me</a></span> <br /><br /> <img src="/templates/tmpl_uni/images/icons/out.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/contacts.php?show=view&list=i">Viewed by Me</a></span><br /> <img src="/templates/tmpl_uni/images/icons/action_fave.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"><a href="/contacts.php?show=hot&list=i">Hotlisted by Me</a></span><br /> </td> </tr> </tbody> </table> </div>
Click on Update
Click on Save
-----------------------------
Go to Settings/Languages Settings and add a new language key:
New language key name: _AccountShortcuts Category: Pages String texts for available languages: Account Shortcuts
(Have you more than one languages add String texts for available languages there also)
Save Changes
Compile all your Language
-----------------------------
You will now have a new block on Account page with shortcuts to most used pages. |
okweb,Thanks it works perfect. |
OKweb:
Thank you for your help.
but sorry ,why i can add HTML code in HTML-content,then update and save them, then checked .nothing in website .also nothing in new block "HTML-content". so i did it again . nothing after change . do i need to wait while ? or it couldn't save the new block ?
please forgive me silly
Ling
|
Please use FireFox for html blocks. To add html, use the TinyMCE html icon. This will open a screen where you can put in the html code. Save this and then save the html block. Kids first |
Thank you very very much. I used Firefox for HTML block , it worked well,
Thank Okweb and Killerhaai a lot.
Ling
|
Thanks okweb, very usefull. Can you please also tell me, which link I need to post to have a "Add new friend" function ? Thanks again! |
Invite a friend
<img src="/templates/tmpl_uni/images/icons/frs.gif" alt="test" width="16" border="0" height="16" /> <span style="font-weight: 700; font-family: Arial Narrow;"> <a href="/tellfriend.php" onClick="return launchTellFriend();">Invite a friend</a></span>
.
.
"Add new friend" function have you inside block Contacts
Friends: New Friend waiting for you! (if someone have clicked on Befriend on your profile)
.
url adress is: /contacts.php?show=friends_inv&list=me
|