vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Profile Enhancements - ragtek Friendship Message (https://vborg.vbsupport.ru/showthread.php?t=211380)

ragtek 04-15-2009 10:00 PM

ragtek Friendship Message
 
If you request on myspace a friendship, you can send a pm

With this add-on you can have this feature also in your vb.


Installation:
Install the xml

If you don't use tms edit the template: modifyuserlist_confirm

search for
HTML Code:

phrase 1="$userinfo[username]">$vbphrase[$confirm_phrase]</phrase>
                        <if condition="$show['friend_checkbox']"><div style="margin-top:1em"><label for="also"><input type="checkbox" name="friend" id="also" value="1"$friend_checked /><phrase 1="$userinfo[username]">$vbphrase[$supplemental_phrase]</phrase></label></div></if>
                        <if condition="$show['hiddenfriend']"><input type="hidden" name="friend" value="1" /></if>

add under:
Code:

$messagearea
search for:
HTML Code:

<form action="profile.php?do=$action&amp;list=$list&amp;userid=$userid" method="post">
replace with:
HTML Code:

<form action="profile.php?do=$action&amp;list=$list&amp;userid=$userid" method="post" enctype="multipart/form-data" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, 10)"</if>>

pein87 04-16-2009 03:28 PM

wow I'm speechless very cool mod installed thanks for the work mate.

Hasann 04-16-2009 03:40 PM

very nice idea ragtek installed ;)

Jasem 04-16-2009 07:16 PM

Nice work, thank you!

RvG2 04-17-2009 01:43 AM

hmmm still a lots of ideas which vbulletin done by default.

ahmed-samara 04-17-2009 02:58 PM

that working in 3.8.2 ?

rainyleaves 04-20-2009 03:46 PM

I got an error when I sending blank message.
The error message is very stranges...many many text.
Sorry uninstalled.
*VB3.8.2

ragtek 04-21-2009 05:40 PM

Quote:

Originally Posted by ahmed-samara (Post 1793338)
that working in 3.8.2 ?

yes

ragtek 04-22-2009 10:35 AM

Quote:

Originally Posted by rainyleaves (Post 1795256)
I got an error when I sending blank message.
The error message is very stranges...many many text.
Sorry uninstalled.
*VB3.8.2

strange
when i try to send a empty message, i'm getting an errormessage which "the message you have entered is too short......."

rainyleaves 04-22-2009 12:12 PM

Quote:

Originally Posted by ragtek (Post 1796626)
strange
when i try to send a empty message, i'm getting an errormessage which "the message you have entered is too short......."

Thanks for your reply.
I'll try again. :)


All times are GMT. The time now is 06:54 AM.

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.01065 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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