[IPB 1.3] Custom Profile URL Buttons 1.1
#1
Posted 30 July 2004 - 11:43 PM
Author :: visiblesoul
Category :: Invision Power Board Mods
Description ::
Custom Profile URL Buttons
Version: 1.1.1
Author: visiblesoul (www.visiblesoul.net)
Last update: 14.11.2004
IPB: 1.3.x (tested on 1.3.1 Final)
----------------------------------------------
Create button links to member blogs and eBay pages or easily customize for other user websites.
This Mod adds:
1. Custom profile button in topic view (PM, E-Mail, WWW, AOL button section).
2. New profile field in User CP.
3. Active URL link displayed in User's Profile.
4. Ability to edit new fields in Admin CP.
5. [Optional] Custom profile button in Personal Message view (PM, E-Mail, WWW, AOL button section).
6. Mod does not use custom profile fields.
Included Files:
1. Read Me
2. eBay Button Install Instructions
3. Blog Button Install Instructions
4. Custom Button Install Instructions
5. Custom Button "mod_me.txt" file
6. IPB Default style buttons (eBay, Blog)
7. caliSkinV6 style buttons (eBay, Blog)
I made this mod to create links to member blogs and eBay stores/"me" pages but it can be easily customized for other user websites by following the enclosed tutorial. Installed on this board. All content ? 2004 visiblesoul.com.
-=DKC=-
ChangeLog:
----------------------------------------------
Version 1.1.0 (17.08.2004): Added ability to edit new fields in Admin CP (sources/Admin/ad_member.php)
Version 1.1.1 (14.11.2004): Fixed typo in /sources/Profile.php edit so that the text "No Information" is displayed in User profile when no custom button info has been entered.
----------------------------------------------
Now available for download at invisionize.com
Mod database:
http://mods.invision...ndex.php/f/3416
Support topic:
http://forums.invisi...showtopic=51264
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.
Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.
"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard
#3
Posted 20 September 2004 - 10:43 AM
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.
Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.
"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard
#4
Posted 01 November 2004 - 05:30 PM
Installing went realy fine and simpel
But i still have al bit off a' problem with this addon.
And the problem is that the Blug button info just cuts a' bit off my blog url
My blog url is http://www.wireless-emmercompascuum.nl/ind...g&op=home&idu=1 and wen i put dat in de URL box of the blog addon and save it
De BLOg button just links me to http://www.wireless-emmercompascuum.nl/ind...d=blog&op=home& so i?m missing the last pease off the url.
Howe can i fix this?
Please can some one help me with this problem?
Thanks Gerard
#5
Posted 01 November 2004 - 10:55 PM
DeGrijze said:
My blog url is http://www.wireless-emmercompascuum.nl/ind...g&op=home&idu=1 and wen i put dat in de URL box of the blog addon and save it
De BLOg button just links me to http://www.wireless-emmercompascuum.nl/ind...d=blog&op=home& so i?m missing the last pease off the url.
Howe can i fix this?
Please can some one help me with this problem?
Have you noticed the same issue with the default "www" (member website) button?
I'll try to have a look at it tonight or tomorrow and let you know what I find.
-=DKC=-
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.
Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.
"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard
#6
Posted 02 November 2004 - 01:55 AM
visiblesoul said:
Have you noticed the same issue with the default "www" (member website) button?
I'll try to have a look at it tonight or tomorrow and let you know what I find.
-=DKC=-
And yes when i set de url string voor my blog in the www-button box its come out with the same result als in de addon blog butting box.
Its just cuts of a bit off the url sting
So iam guesing your right that there is a max of characters settings somewhere, iam hoping that this can be fixst.
Thanks for your help .
Geard
#7
Posted 02 November 2004 - 03:58 PM
Look in the forum database for the "ibf_members" table. Look for the field for which you want to change the length. For example "website". There is a default "Length/Values" set at "70" characters. Change this to 100 or whatever length you need. Do the same thing for any other profile fields that you want to change.
Let me know if you have any problems or if you don't understand my instructions.
-=DKC=-
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.
Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.
"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard
#9
Posted 14 November 2004 - 01:00 AM
Thanks to the keen eye and the much appreciated email of XaviorX at Ize (thanks Xavior) I have fixed a typo in the /sources/Profile.php edit so that the text "No Information" is displayed in User profile when no custom button info has been entered. It's a minor thing but quality is in the details.
Download has been updated.
For the eBay button the change is
FIND:
$info['ebay'] = $ibforums->lang['no_info'];REPLACE WITH:
$info['ebaypage'] = $ibforums->lang['no_info'];For the Blog button the change is
FIND:
$info['blog'] = $ibforums->lang['no_info'];REPLACE WITH:
$info['blogpage'] = $ibforums->lang['no_info'];That's it.
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.
Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.
"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard
#10
Posted 17 November 2004 - 04:32 PM
The only line i have there is:
$info['blogpage'] = "<a href='{$member['blog']}' target='_blank'>{$member['blog']}
So i wonder do i mis a line and if this is so ware shut i put this line then in my /sources/Profile.php file?Joop
#11
Posted 17 November 2004 - 07:47 PM
The corrected instructions for /forums/sources/Profile.php are...
FIND:
if ( $member['website'] and preg_match( "/^http://S+$/", $member['website'] ) )
{
$info['homepage'] = "<a href='{$member['website']}' target='_blank'>{$member['website']}</a>";
}
else
{
$info['homepage'] = $ibforums->lang['no_info'];
}
ADD BELOW: if ( $member['blog'] and preg_match( "/^http://S+$/", $member['blog'] ) )
{
$info['blogpage'] = "<a href='{$member['blog']}' target='_blank'>{$member['blog']}</a>";
}
else
{
$info['blogpage'] = $ibforums->lang['no_info'];
}
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.
Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.
"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard
#12
Posted 18 November 2004 - 03:26 AM
visiblesoul said:
And we make both use of the different computers here in my home And his place when i?m baby sitting on my granddochter en son.
And becouse I don't have a count here I just made juse of his one, (soory i know its wrong and afther this explanasion I wil make a acount for my self.
I?m Joop 70 years old, and DeGrijze (Gerard) is my son 45 years old.
Hope that this explanesion settels all?
#13
Posted 18 November 2004 - 03:43 AM
DeGrijze said:
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.
Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.
"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard
#14
Posted 18 November 2004 - 03:48 AM
visiblesoul, on 17th November 2004, 07:47 PM, said:
The corrected instructions for /forums/sources/Profile.php are...
FIND:
if ( $member['website'] and preg_match( "/^http://S+$/", $member['website'] ) )
{
$info['homepage'] = "<a href='{$member['website']}' target='_blank'>{$member['website']}</a>";
}
else
{
$info['homepage'] = $ibforums->lang['no_info'];
}
ADD BELOW: if ( $member['blog'] and preg_match( "/^http://S+$/", $member['blog'] ) )
{
$info['blogpage'] = "<a href='{$member['blog']}' target='_blank'>{$member['blog']}</a>";
}
else
{
$info['blogpage'] = $ibforums->lang['no_info'];
}
Please correct my if I?m wrong.
Must there by not a line ?lso for the blog addon in this Profile.php file like the one's here under.
$info['aim_name'] = $member['aim_name'] ? $member['aim_name'] : $ibforums->lang['no_info']; $info['icq_number'] = $member['icq_number'] ? $member['icq_number'] : $ibforums->lang['no_info']; $info['yahoo'] = $member['yahoo'] ? $member['yahoo'] : $ibforums->lang['no_info']; $info['location'] = $member['location'] ? $member['location'] : $ibforums->lang['no_info']; $info['interests'] = $member['interests'] ? $member['interests'] : $ibforums->lang['no_info']; $info['msn_name'] = $member['msnname'] ? $member['msnname'] : $ibforums->lang['no_info']; $info['integ_msg'] = $member['integ_msg'] ? $member['integ_msg'] : $ibforums->lang['no_info'];Iam asking becouse ithere is no line like this for the blog addon in the Profile.php file.
Jopp (as my self this time.
#15
Posted 18 November 2004 - 04:20 AM
Joop, on 18th November 2004, 04:48 AM, said:
Please correct my if I?m wrong.
Must there by not a line ?lso for the blog addon in this Profile.php file like the one's here under.
$info['aim_name'] = $member['aim_name'] ? $member['aim_name'] : $ibforums->lang['no_info']; $info['icq_number'] = $member['icq_number'] ? $member['icq_number'] : $ibforums->lang['no_info']; $info['yahoo'] = $member['yahoo'] ? $member['yahoo'] : $ibforums->lang['no_info']; $info['location'] = $member['location'] ? $member['location'] : $ibforums->lang['no_info']; $info['interests'] = $member['interests'] ? $member['interests'] : $ibforums->lang['no_info']; $info['msn_name'] = $member['msnname'] ? $member['msnname'] : $ibforums->lang['no_info']; $info['integ_msg'] = $member['integ_msg'] ? $member['integ_msg'] : $ibforums->lang['no_info'];Iam asking becouse ithere is no line like this for the blog addon in the Profile.php file.
Jopp (as my self this time.
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.
Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.
"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













