vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Programming Discussion :: MYOP - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
MYOP (1st Mar 08 at 12:39am UTC)
Make Your Own Profile

Code:
 
  1. <div id="w_prof" style="display: none">
  2. PUT YOUR CODE HERE
  3. </div>
  4.  
  5. <script>
  6. /*Coded by Wrighty
  7. Don't RIP!*/
  8.  
  9. function prof(id){
  10. get('w_prof','id').innerHTML = get('w_prof','id').innerHTML.replace(new RegExp('{'+id+'}','g'),get(id,'id').innerHTML);
  11. }
  12. if(location.href.match(/\/view_profile(\/|$)/)){
  13. for(i=0;i<get('w_prof','id').innerHTML.length;i++){
  14. if(get('w_prof','id').innerHTML.match(/{(.+?)}/)){
  15. prof(RegExp.$1);
  16. }
  17. }
  18. get('full_profile','id').innerHTML = get('w_prof','id').innerHTML
  19. }
  20.  
  21. </script>
 


Where it says: PUT YOUR CODE HERE. You can put any HTML code that you want. To include various sections from the main profile use these tags:

{profile_links}
{hidden_vars}
{display_name}
{birthday}
{age}
{gender}
{location}
{website}
{posts}
{date_registered}
{email}
{msn}
{aim}
{googletalk}
{icq}
{yahoo}
{last_online}
{local_time}
{last_ip}
{recent_posts}
{signature}
{account_notes}


Post Questions/results etc... below


This is not a release. This is just for testing. Feel free to test it and let me know your thoughts on it. I will release it when I have had enough feedback.
 Printable View

All times are GMT+0 :: The current time is 3:33am
Page generated in 0.0811 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums