Myspace profile button Question

General discussion of anything. Discuss a topic in and out of IntegraMOD

Moderator: Integra Moderator

Myspace profile button Question

PostAuthor: honie » Sun Jun 04, 2006 8:04 am

I hope Im putting this in the right place.

I was wondering if its possible to use the myspace profile button mod with integramod?
It can be found here - http://www.phpbb.com/phpBB/viewtopic.ph ... ht=myspace


Just wasn't sure because of some of the profile & viewtopic editing

Thanks !
Last edited by honie on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

honie
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 3:08 pm
Cash on hand: 0.00

PostAuthor: ayasha » Sun Jun 04, 2006 8:48 am

:grins big: i vote for you guys to get this one done <img>
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

Re: Myspace profile button Question

PostAuthor: Threat009 » Sun Jun 04, 2006 1:39 pm

sounds nice. personally, I don't use it, but I have visitors that discuss myspace and such on my boards <img>
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

Re: Myspace profile button Question

PostAuthor: Dragonsys » Tue Oct 10, 2006 12:03 pm

Yes, I have done this on my Website.
I can't download the file anymore, but I can come up with the MOD for IM without it. If anyone still wants it.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: ayasha » Tue Oct 10, 2006 8:06 pm

yes, i would like it <img>
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

Re: Myspace profile button Question

PostAuthor: Dragonsys » Wed Oct 11, 2006 6:56 am

ok, here it is, quick and dirty, I'll change this into a proper MOD doc later.

Code: Select all
SQL].buddy_visible',                 'hidden'       => true,             ),  AFTER ADD:             'user_myspace' => array(                 'lang_key'     => 'Myspace',                 'class'        => 'generic',                 'type'         => 'VARCHAR',                 'auth'         => USER,                 'visibility'   => true,             ),  OPEN: profilcp/def/def_userfuncs_custom.php  FIND: ?>  BEFORE [url=ADD://-----------------------------------////]ADD://-----------------------------------////[/url] user_myspace output function////-----------------------------------function pcp_output_myspace($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) )     {         if (strtolower(substr($view_userdata[$field_name],0,7)) != 'http://'){                 $view_userdata[$field_name] = 'http://'.$view_userdata[$field_name];         }         if ( substr($map_name, 0, 4) == 'PCP.' )         {             $link = $view_userdata[$field_name];             $title = $lang['Myspace'];         }         else         {             $link = $lang['Myspace'];             $title = $view_userdata[$field_name];         }         $txt = '<a>' . $link . '</a>';         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  OPEN: profilcp/def/def_usermaps.php  FIND:                         'user_gallery' => array(                                 'leg'          => true,                                 'img'          => true,                             ),  AFTER ADD:                         'user_myspace' => array(                                 'dsp_func'     => 'pcp_output_myspace',                                 'leg'          => true,                                 'img'          => true,                             ),  FIND:                         'fields'     => array(                         'user_website' => array(                             ),  AFTER ADD:                         'user_myspace' => array(                             ),  FIND:                         'user_gallery' => array(                                 'img'          => true,                                 'style'        => '<td><span>%sÂÂÂ  </span></td>',                             ),  AFTER ADD:                         'user_myspace' => array(                                 'dsp_func'     => 'pcp_output_myspace',                                 'img'          => true,                                 'style'        => '<td><span>%s </span></td>',                             ),  FIND: (Yes, do this twice)                         'user_gallery' => array(                                 'img'          => true,                                 'style'        => '<td><span>%sÂÂÂ  </span></td>',                             ),  AFTER ADD:                         'user_myspace' => array(                                 'dsp_func'     => 'pcp_output_myspace',                                 'img'          => true,                                 'style'        => '<td><span>%s </span></td>',                             ),  OPEN: templates/fisubice/fisubice.cfg  FIND:$images['icon_msnm'] = "$current_template_images/{LANG}/icon_msnm.gif" width="$topic_iw" height="$topic_ih" class="imgtopic";  AFTER ADD:$images['icon_myspace'] = "$current_template_images/{LANG}/icon_myspace.gif";


You'll need this image as well:
[flash=,:1lqwj01d]http://beta.dragonsys.org/im_test/templates/fisubice/images/lang_english/icon_myspace.gif[/flash:1lqwj01d]
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: ayasha » Wed Oct 11, 2006 7:51 am

thanks Dragonsys, will get this edit done after the move <img>
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00


Return to General Discussion

Who is online

Registered users: Bing [Bot], Unspecified Bot