vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Refer to Friend v1.0 (https://vborg.vbsupport.ru/showthread.php?t=103808)

Hasann 02-02-2006 06:25 AM

Quote:

Originally Posted by Aftermath

How do I fix that? Please guide me...

open refertofriend template and change this code

HTML Code:

<td class="alt1" valign="top"><b>Message:</b></td>
        <td class="alt1"><textarea name="emailmessage" rows="10" cols="50">I thought you might be interested in joining me at $vboptions[bbtitle]! Click here to check it out:
$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]

to
HTML Code:

<td class="alt1" valign="top"><b>Message:</b></td>
        <td class="alt1"><textarea name="emailmessage" rows="10" cols="30">I thought you might be interested in joining me at $vboptions[bbtitle]! Click here to check it out:
$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]


Snake 02-02-2006 07:36 PM

I tried that and it still the same.

Darkfire122333 02-05-2006 04:06 PM

Quote:

Originally Posted by swa
Would it be possible to have this come up after someone signs up for your site?

PHP Code:

        <if condition="$show['member']">
            <
td class="vbmenu_control"><a href="sendmessage.php?do=sendtofriend&refer=1">Send to Friend</a></td>
        </if> 

There you go, Enjoy.

Darkfire122333 02-05-2006 04:08 PM

Quote:

Originally Posted by Aftermath
I tried that and it still the same.

What do you exactly want changed? If I know the source that you wanted changed, I could modify it for you.

Just quote what you wanted changed, and a little definition of what you wanted it to look like, and I could work from there.

Snake 02-05-2006 04:33 PM

Look at this image...

http://img67.imageshack.us/img67/1696/probfr5qp.jpg

It's looking kinda messed up because of my skin as it is modified differently. You see, that blank black bg thingy is messing up with the skin...

Darkfire122333 02-05-2006 05:13 PM

In Template refertofriend

Replace:
PHP Code:

 <table cellpadding="$stylevar[outerborderwidth]cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]align="center"><tr><td>
<
table cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%"

With:
PHP Code:

 <table cellpadding="1" cellspacing="1" border="1" class="tborder" width="0" align="center"><tr><td>
<
table cellpadding="1" cellspacing="1" border="1" width="100%"

DEMO:
http://fortsask.be/sendmessage.php?d...friend&refer=1

Hint: To remove the mini borders, just excange the 1's to 0's and they will be gone.

Snake 02-05-2006 05:19 PM

Nevermind...

Thanks!

Snake 02-05-2006 05:26 PM

Yeah it's working now. Thank you.

Darkfire122333 02-05-2006 05:27 PM

No Problem, Just glad to help.

blackpheonix 02-06-2006 09:35 PM

sorry i didnt like your template very much so i changed it a little hope you dont mind :) in case anyone else wants teh same template as me

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - Refer $vboptions[bbtitle] to a Friend</title>
</head>
<body>
$header
<if condition="$navbar">$navbar<else /><br /><br /></if>


<form action="sendmessage.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat">

                <b>Refer $vboptions[bbtitle] to a Friend</b>       
        </td>
</tr>
<tr>
        <td class="panelsurround" align="center">
        <div class="panel">
                <div style="width:$stylevar[formwidth]" align="$stylevar[left]">
               
                        <fieldset class="fieldset">
                                <legend>Your Friends Details</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <tr>
                                        <td>
                                                <b>Send To (Person's Name):</b><br />
                                                <input type="text" class="bginput" name="sendtoname" size="50" maxlength="75" />
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <b>Send To (Email Address):</b><br />
                                                <input type="text" class="bginput" name="sendtoemail" size="50" maxlength="100" />
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <b>Subject:</b><br />
                                                <input type="text" class="bginput" name="emailsubject" value="Join me at this website!" size="50" maxlength="100" />
                                        </td>
                                </tr>

                                </table>
                        </fieldset>

                       
                        <div class="fieldset">
                                $vbphrase[message]:<br />
                                <textarea name="emailmessage" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">I thought you might be interested in joining me at $vboptions[bbtitle]! Click here to check it out:
$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]

From,
$bbuserinfo[username]
</textarea>
                        </div>
               
                </div>
        </div>
       
        <div style="margin-top:$stylevar[cellpadding]px">
                <input type="submit" class="button" value="Send Email Now!" accesskey="s" />
                <input type="hidden" name="t" value="$threadid" />
                <input type="hidden" name="url" value="$url" />
                <input type="hidden" name="refer" value="1" />
                <input type="hidden" name="do" value="dosendtofriend" />
        </div>
        </td>
</tr>
</table>

</form>

$footer

</body>
</html>



All times are GMT. The time now is 02:10 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.01157 seconds
  • Memory Usage 1,775KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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