https://next-level-arcade.com


Results 1 to 14 of 14

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator stangger5's Avatar

    Join Date
    Nov 2005
    Posts
    1,633
    Thanks
    666
    Thanked 620 Times in 320 Posts

    Link in postbit to arcade profile..

    Made this to help blind-eddie at vb.org and anyone else that wants to use it..

    vb4

    In postbit_legacy or postbit look for
    PHP Code:
    <dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd
    below add this :
    PHP Code:
    <vb:if condition="$post['games_played']"><dd><a href="arcade.php?&act=Arcade&module=report&user={vb:raw post.userid}" title="Check out {vb:raw post.username}`s Arcade profile">My Arcade Profile</a></dd></vb:if> 
    If this doesnt show anything,,change games_played to crowns..

    ----------------------------------------------------------------------------------------------------------------------------------------------------------

    vb3 should be close to the same..
    Look for the post info and below try this:
    PHP Code:
    <if condition="$post['games_played']"><dt><a href="arcade.php?&act=Arcade&module=report&user=$post[userid]title="Check out $post[username] Arcade standings">My Arcade Scores</a></dt></if> 
    Since I dont have vb3 anymore,,I hope that works..
    Last edited by stangger5; 10-02-2011 at 08:33 PM. Reason: Updated 10/2/2011

  2. The Following User Says Thank You to stangger5 For This Useful Post:

    Hippy (11-22-2011)

  3. #2
    Affiliate/Friend blind-eddie's Avatar

    Join Date
    Sep 2011
    Location
    Detroit
    Posts
    120
    Thanks
    67
    Thanked 62 Times in 42 Posts
    Worked like a charm...THANK YOU VERY MUCH!

  4. #3
    Beast Master Hippy's Avatar

    Join Date
    Aug 2011
    Location
    New Jersey
    Posts
    73
    Thanks
    36
    Thanked 6 Times in 6 Posts
    did I tell you he is by far the master...

    hey stangger5 could you add the rating # at the end ? of this ..?

  5. #4
    Beast Master Hippy's Avatar

    Join Date
    Aug 2011
    Location
    New Jersey
    Posts
    73
    Thanks
    36
    Thanked 6 Times in 6 Posts
    can you update the code you are using here bud ..
    dt to dd and the user name in "check out hippy's arcade profile"..

  6. #5
    Beast Master Hippy's Avatar

    Join Date
    Aug 2011
    Location
    New Jersey
    Posts
    73
    Thanks
    36
    Thanked 6 Times in 6 Posts
    I think I figured it out .. look good ?
    PHP Code:
    <vb:if condition="$post['games_played']"><dd><a href="ibproarcade.php?&act=Arcade&module=report&user={vb:raw post.userid}" title="Check out {vb:raw post.username}'s Arcade Profile">My Arcade Profile</a></dd>
                                                    </
    vb:if> 

  7. #6
    Administrator stangger5's Avatar

    Join Date
    Nov 2005
    Posts
    1,633
    Thanks
    666
    Thanked 620 Times in 320 Posts
    You got it....I updated the first post too..

  8. The Following User Says Thank You to stangger5 For This Useful Post:

    Hippy (11-22-2011)

  9. #7
    Affiliate/Friend blind-eddie's Avatar

    Join Date
    Sep 2011
    Location
    Detroit
    Posts
    120
    Thanks
    67
    Thanked 62 Times in 42 Posts

    Red face

    Would you be interested in shareing how you shortened the games shown when viewing stats page to only the games you played, instead of all games as shown with default?
    :blinkdog:

  10. #8
    Beast Master Hippy's Avatar

    Join Date
    Aug 2011
    Location
    New Jersey
    Posts
    73
    Thanks
    36
    Thanked 6 Times in 6 Posts
    it's part of the download mod..
    talk to stangger5 about it.

  11. #9
    Junior Member

    Join Date
    Jun 2011
    Posts
    14
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Thank Stangger very nice

  12. #10
    Affiliate/Friend blind-eddie's Avatar

    Join Date
    Sep 2011
    Location
    Detroit
    Posts
    120
    Thanks
    67
    Thanked 62 Times in 42 Posts
    What would the if conditional be to use on member profile pages?
    I have tried the if conditional posted above as well as a few others without luck.

  13. #11
    Administrator stangger5's Avatar

    Join Date
    Nov 2005
    Posts
    1,633
    Thanks
    666
    Thanked 620 Times in 320 Posts
    vb4
    PHP Code:
    <vb:if condition="$userinfo['userid'] == $bbuserinfo['userid']"
    maybe ?

    Its been a long time since coding in the profile..

  14. #12
    Affiliate/Friend blind-eddie's Avatar

    Join Date
    Sep 2011
    Location
    Detroit
    Posts
    120
    Thanks
    67
    Thanked 62 Times in 42 Posts
    Thank you!

    That's one I didn't try, coding between postbit and memberinfo is so different.
    Perfect, now it only shows arcade link for those that have played it.

    I installed this just before passing out at my keyboard last night.

    http://www.vbulletin.org/forum/showthread.php?t=177902

    Look at Arcade Stats Tab on my profile page.

  15. #13
    Affiliate/Friend blind-eddie's Avatar

    Join Date
    Sep 2011
    Location
    Detroit
    Posts
    120
    Thanks
    67
    Thanked 62 Times in 42 Posts
    I spoke to soon, it only showed mine only.

  16. #14
    Bandit
    Guest
    Excellent, thank you :)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Link Exchange - Affiliates/Friends