vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forum Invitation Form (https://vborg.vbsupport.ru/showthread.php?t=46263)

KingsGambit 12-11-2002 10:55 PM

AFAIK they should do, and this one is really straightforward but quite effective, and I don't think 2.2.9 has made that much changes. I have it but am afraid to upgrade with all the hacks I've played with. :)

Molok 12-14-2002 10:33 PM

i installed the hack and it works very good.

I want set a Link to the Invitation Form in the User CP under New Private Messages and before Subscribed Forums.

Title of the Link
Invite a Friend
Here you can invite your friendy they are not registred.

My programming nowledge is very :( so i have no idea how i can do

KingsGambit 12-14-2002 10:51 PM

Molok, if you mean where I think you mean, you could try putting this bit of code in the usercp template. Admin CP => Templates => Modify => User Control Panel Templates [Expand] => usercp. Find:

$privatemessages

Below that put the following code (before $forumlist):

PHP Code:

<table cellpadding="0" width="100%" bgcolor="#0A293E" cellspacing="0" border="0" align="center"><tr><td>
<
table cellspacing="1" cellpadding="4" border="0" width="100%">
<
tr id="cat">
    <
td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" background="https://vborg.vbsupport.ru/images/catimage.gif" colspan="5">
    <
table cellpadding="0" cellspacing="0" border="0" width="100%">
    <
tr id="cat">
        <
td><a href="invite.php?s=$session[sessionhash]"><normalfont color="#000000"><b>Invite a Friend</b></normalfont></a></td>
    </
tr>
    </
table>
    </
td>
</
tr>
<
tr>
    <
td bgcolor="#13486D"><normalfont>Here you can invite your friends if they are not registred</normalfont></td>
</
tr>
</
table>
</
td></tr></table>
<
br

:)

Molok 12-14-2002 10:56 PM

yes you mean the right was i mean. with my very bad english its not easy to write here the right.

its work an I kiss you feets :-)

KingsGambit 12-14-2002 11:02 PM

LOL, it was a pleasure mate, and your english is fine. I understood it fine and I *only* speak bad english. :D

Molok 12-14-2002 11:17 PM

really good news :-)

I have here a little Upgrade of your Code.
So the Tables takes automatically the colors wheres setting as standard in the style

<table cellpadding="{tableouterborderwidth}" width="100%" bgcolor="{tablebordercolor}" cellspacing="0" border="0" align="center"><tr><td>
<table cellspacing="1" cellpadding="4" border="0" width="100%">
<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="5">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr id="cat">
<td><a href="invite.php?s=$session[sessionhash]"><normalfont color="{categoryfontcolor}"><b>Lade einen Freund/Freundin ein.</b></normalfont></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}"><normalfont>Hier kannst du jemandem, der noch nicht im Forum registriert ist, eine Einladung senden.</normalfont></td>
</tr>
</table>
</td></tr></table>
<br>

XrayHead 12-18-2002 09:04 PM

Installed mate..... Thank you :-)


All times are GMT. The time now is 06:16 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.01465 seconds
  • Memory Usage 1,735KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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