vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Best MySpace Account Info (https://vborg.vbsupport.ru/showthread.php?t=110954)

Mr Chad 12-15-2006 09:24 PM

Quote:

Originally Posted by chkdgate (Post 1139004)
Fixed it. I forgot to take the ['field'XX] into consideration. Thanks Mr Chad.

lol yea you cant forget the fields...

R34GTT 12-29-2006 10:39 PM

ignore me, im not here.

Mr Chad 12-31-2006 04:24 PM

Quote:

Originally Posted by R34GTT (Post 1147229)
ignore me, im not here.

? lol resolved your issue?

R34GTT 01-06-2007 07:02 PM

Indeed and it was really obvious!

Mr Chad 01-07-2007 04:41 AM

ok then...

tobias_t 03-05-2007 01:33 PM

Does this actually still work under 3.6.5? I had a brief look and it seems that the postbit_legacy code has changed in the meantime...

I would really like to add this to our forums.

Thanks,

Tobias

Xplorer4x4 03-15-2007 06:42 AM

Chad, I doubt half the community knows how to edit the hex codes to change the green, so instead why not use the built in vB CSS attributes. This way everything will show up with the same color scheme of the skin.

PHP Code:

<if condition="$post['field10']"><div id="postmenumyspace_$post[postid]style="border: 1px solid .alt2; background-color: .alt2; margin-bottom: 4px; width:175px; height:21px" width="100%" class="smallfont"><a target="_blank" href="http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=$post[field20]"> <img border="0" src="$stylevar[imgdir_misc]/icon_myspace.gif" alt="View myspace profile"><script type="text/javascript"vbmenu_register("postmenumyspace_$post[postid]"true); </script></a></div></if> 

PHP Code:

<!-- post $post[postidmyspace menu -->
<
div class="vbmenu_popup" id="postmenumyspace_$post[postid]_menu" style="display:none">

<
table class="contactTable" border="0"  cellpadding="0" cellspacing="0" width="300" id="table1" bgcolor=".alt2">
    <
tr>
        <
td class="thead" style align="left"  height="15" width="300">
        <
b><span class="whitetext12">Contacting $post[username]</span></b></td>
    </
tr>
    <
tr>
        <
td>
        <
table border="0"  cellpadding="0" cellspacing="0" width="300" id="table2">
            <
tr>
                <
td>
                <
img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="5" width="1"></td>
            </
tr>
            <
tr>
                <
td class="vbmenu_option" align="center" height="5" nowrap="nowrap" width="120">
                &
nbsp;
                <
a id="ctl00_Main_ctl00_UserContactLinks1_MailLink" href="http://Mail.myspace.com/index.cfm?fuseaction=mail.message&friendID=$post[field10]">
                <
img src="$stylevar[imgdir_misc]/sendMailIcon.gif" align="middle" border="0"></a>
                    </
td>
                <
td height="5" width="15">
                <
img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="8" width="15"></td>
                <
td class="vbmenu_option" align="center"  height="5" nowrap="nowrap" valign="top" width="150">
                <
a id="ctl00_Main_ctl00_UserContactLinks1_ForwardLink" href="http://Mail.myspace.com/index.cfm?fuseaction=mail.forward&friendID=$post[field10]&f=forwardprofile">
                <
img src="$stylevar[imgdir_misc]/forwardMailIcon.gif" align="middle" border="0"></a>
                    </
td>
            </
tr>
            <
tr>
                <
td colspan="3">
                <
img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="2" width="1"></td>
            </
tr>
            <
tr>
                <
td class="vbmenu_option" align="center"  height="5" nowrap="nowrap" valign="top" width="130">
                <
a id="ctl00_Main_ctl00_UserContactLinks1_AddFriendLink" href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=$post[field10]">
                <
img src="$stylevar[imgdir_misc]/addFriendIcon.gif" align="middle" border="0"></a>
                    </
td>
                <
td  height="5" width="15">
                <
img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="1" width="15"></td>
                <
td class="vbmenu_option" align="center"  height="2" nowrap="nowrap" valign="middle" width="150">
                <
a id="ctl00_Main_ctl00_UserContactLinks1_AddFavoriteLink" href="http://collect.myspace.com/index.cfm?fuseaction=user.addToFavorite&friendID=$post[field10]&public=0">
                <
img src="$stylevar[imgdir_misc]/addFavoritesIcon.gif" align="middle" border="0"></a></td>
            </
tr>
            <
tr>
                <
td colspan="3">
                <
img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="2" width="1"></td>
            </
tr>
            <
tr>


                <
td class="vbmenu_option" align="center" height="5" nowrap="nowrap" width="120">
                &
nbsp;
                <
a id="ctl00_Main_ctl00_UserContactLinks1_AddFriendLink0" href="http://collect.myspace.com/index.cfm?fuseaction=RateImage.UserRating&UserID=$post[field10]">                
                <
img src="$stylevar[imgdir_misc]/icon_rank_user4.gif" align="middle" border="0"></a>
                    </
td>

                <
td  height="5" width="15">
                <
img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="8" width="15"></td>
                <
td class="vbmenu_option" align="center"  height="5" nowrap="nowrap" valign="top" width="150">
                <
a id="ctl00_Main_ctl00_UserContactLinks1_BlockFriendLink" onclick="return confirm('Are you sure you want to block this user?\n- to block this user, hit OK\n- otherwise, hit Cancel');" href="http://collect.myspace.com/index.cfm?fuseaction=block.blockUser&userID=$post[field10]">
                <
img src="$stylevar[imgdir_misc]/blockuser.gif" align="middle" border="0"></a></td>
            </
tr>
                        <
tr>
                <
td colspan="3">
                <
img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="2" width="1"></td>
            </
tr>
            <
tr>
                <
td class="vbmenu_option" align="center"  height="5" nowrap="nowrap" valign="top" width="130">

                <
a id="ctl00_Main_ctl00_UserContactLinks1_MailLink0" href="http://groups.myspace.com/index.cfm?fuseaction=groups.addtogroup&friendID=$post[field10]">
                <
img src="$stylevar[imgdir_misc]/icon_add_to_group.gif" align="middle" border="0"></a>
                    </
td>
                <
td height="5" width="15">
                <
img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="1" width="15"></td>
                <
td class="vbmenu_option" align="center"  height="2" nowrap="nowrap" valign="middle" width="150">
                <
a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=$post[field10]">
                <
img border="0" src="$stylevar[imgdir_misc]/icon_myspace.gif" width="59" height="18"></a></td>
            </
tr>
            <
tr>
                <
td>
                <
img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="5" width="1"></td>
            </
tr>
        </
table>
        </
td>
    </
tr>
</
table>

</
div>
<!-- / 
post $post[postidmyspace menu --> 

The font color will obviously not change since that is embedded into the image, so I may edit this even more and simply cut out the text from the buttons.

Xplorer4x4 03-15-2007 06:44 AM

Quote:

Originally Posted by tobias_t (Post 1196245)
Does this actually still work under 3.6.5? I had a brief look and it seems that the postbit_legacy code has changed in the meantime...

I would really like to add this to our forums.

Thanks,

Tobias

Yes it works fine. The code to find is different but look at the code to find and look at the template and find the text that resembles the code your searching for.


All times are GMT. The time now is 06:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01265 seconds
  • Memory Usage 1,825KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete