Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Login to VB from your Homepage. Plus other features. Details »»
Login to VB from your Homepage. Plus other features.
Version: 1.00, by joecool joecool is offline
Developer Last Online: Jun 2003 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-31-2002 Last Update: Never Installs: 6
Is in Beta Stage  
No support by the author.

Hello.

This hack will allow you to login from your homepage, then be redirected to your homepage (or anypage you like), and if already "Cookied" then it will say hello.

It will also display total posts on your homepage, And loads of features to come ::

Private messages,
new posts since last visit
top posts,
newest member

All on your homepage.


Beta tested needed.

** Attached file opens in WORDPAD **

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 09-02-2002, 01:19 AM
joecool joecool is offline
 
Join Date: Mar 2002
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i will just upload it...

here any problems let me know
Reply With Quote
  #23  
Old 09-02-2002, 01:41 AM
Mithan Mithan is offline
 
Join Date: Apr 2002
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok for some reason I cant get it too just show the total numbers of people who are logged on, period.

Also, the Guests doesnt count right... I have about 60 guests on right now, and it says 3.

Any clue?
Reply With Quote
  #24  
Old 09-02-2002, 09:55 AM
rapsearch's Avatar
rapsearch rapsearch is offline
 
Join Date: Aug 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Joecool...Do i need the first one (zip file) to use this text addon?...

If possible, it would be good to edit your first post here with the latest install instruction, just to keep this thread organised... I'm deffinately feeling this hack.. but will wait until its "finished"...so many dope ideas are said, i'd love to see them combined
Reply With Quote
  #25  
Old 09-02-2002, 09:59 AM
joecool joecool is offline
 
Join Date: Mar 2002
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay thianks.. I am gonna re-write the script to include everything... Also the above (home.txt) should work but you will need to do Step 1 in the attached zip file.
Reply With Quote
  #26  
Old 09-02-2002, 10:01 AM
rapsearch's Avatar
rapsearch rapsearch is offline
 
Join Date: Aug 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok....i'll keep an eye on this one .... waiting for the re-written version

Thanks for this great addon..
Reply With Quote
  #27  
Old 09-02-2002, 10:38 AM
joecool joecool is offline
 
Join Date: Mar 2002
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay people, today i am gonna finalise this hack, I will be adding bits to show:::

Show a Member if they have a NEW PM on your homepage, this will allow, if user cannot be recoginsed it will say "Not logged in" and if they have one PM it says you have 1 message.. etc etc.. Aldo it will allow people to click the number and be redirected to the PM Folder. Wow..

But its still BETA so the will be bugs.
Reply With Quote
  #28  
Old 09-02-2002, 04:38 PM
Mithan Mithan is offline
 
Join Date: Apr 2002
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the code I am using for the front of www.ac2hq.com :

Code:
<?
if ($bbuserinfo['userid']!=0) {
$pmlink="http://www.ac2hq.com/forum/private.php?s=".$session[sessionhash];
$username=$bbuserinfo['username'];
$allpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] $ignoreusers");
$newpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND dateline>$bbuserinfo[lastvisit] AND folderid=0 $ignoreusers");
$unreadpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND messageread=0 AND folderid=0 $ignoreusers");
$pmlink="http://www.ac2hq.com/forum/private.php?s=".$session[sessionhash];

print("<align='center'><span class=\"accent\">Welcome $username!</span></b><br>");
print ("<a href=\"$pmlink\">$unreadpm[messages] Private Messages. </a><br>");
print("<align='center'><b>[ <a href='http://www.ac2hq.com/forum/index.php'>Enter Forum</a> ]</b><br>");
} else {
?>
<span class="accent">Please Login:</span><br>
                    <form action="http://www.ac2hq.com/forum/member.php" method="post">
	        <input name="username" type="text" size="7" /> 
                    <input name="password" type="password" size="7" /> 
                    <input name="submit" type="submit" value="Login!" /> 
                    <input type="hidden" name="s" value="$session[sessionhash]" />   <input type="hidden" name="action" value="login" /> 
                    </form><font size=1><a href="http://www.ac2hq.com/forum/register.php?s=&action=signup">Register Here</a></font><br>
<?					
}
?>

<!--<?php
$numbersmembers=$DB_site->query_first("SELECT COUNT(userid) AS users FROM user");
$numbermembers=$numbersmembers[users];
$newestuser = $DB_site->query_first("SELECT userid,username FROM user ORDER by joindate DESC LIMIT 1");

echo "Total Members: $numbermembers <br>";
?>
Reply With Quote
  #29  
Old 09-02-2002, 06:28 PM
DemiNeo0101's Avatar
DemiNeo0101 DemiNeo0101 is offline
 
Join Date: Feb 2002
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by joecool
Hey.. small problem with this error msg "cannot send header information" blah blah..

This has been detected on 2.27 VB. not 2.26.

also if you have alot of Javascript, may report errors.

finally, if you find a better way to stop Header errors, let me know..


P.S i am still working on this to make it better.
thats easy to fix, thats a user error, Its b/c you have spaces AFTER the ?> in one of your files. It happens to me all the time.
Reply With Quote
  #30  
Old 09-02-2002, 09:03 PM
joeboo's Avatar
joeboo joeboo is offline
 
Join Date: Jun 2002
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

God i want this hack.. but I just wish there was a way around it.. since my forums and site are different servers
Reply With Quote
  #31  
Old 09-02-2002, 09:05 PM
joecool joecool is offline
 
Join Date: Mar 2002
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, i found a way round it... I am gonna test it myself, if okay, then wow.. i will let you know...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:11 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.08447 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete