Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2002, 02:15 PM
Lotus Ims's Avatar
Lotus Ims Lotus Ims is offline
 
Join Date: Dec 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Non-vB welcome panel.

I would like a hack made, much like the one on the main page here. It needs to display the username, Avatar, Number of new posts, and how many new PM they have. If someone could mae this for me it would be great!

Example:

Welcome back, (username)
----------
|avatar|
| |
----------
Since you last visit,
(x) new posts
(x) new PMs

And if a user is not logged in display:
________________
Username: |________________|
________________
Password: |_______________|

I would greatly appreciate this. I would display a link to you page if you could make this for me.
Reply With Quote
  #2  
Old 02-27-2002, 04:48 PM
mondaynightmike's Avatar
mondaynightmike mondaynightmike is offline
 
Join Date: Jan 2002
Location: Northamptonshire
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #3  
Old 02-27-2002, 05:08 PM
slideboxer's Avatar
slideboxer slideboxer is offline
 
Join Date: Dec 2001
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For myself, it was a matter of copying bits of root/index.php and placing them in my homepage php file.
Reply With Quote
  #4  
Old 02-27-2002, 11:46 PM
Lotus Ims's Avatar
Lotus Ims Lotus Ims is offline
 
Join Date: Dec 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you tell me what you did? I am not very good at PHP.
Reply With Quote
  #5  
Old 02-28-2002, 05:52 AM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I could tell you how to do it...but it would involve me posting a lot of the content of index.php, and even though it's not the whole file, the powers-that-be might not like it too much (and I wouldn't blame them). I would send it to you in a PM or email, but I have no way of confirming your license myself.

So I will tell you in general how to do it. I'm sorry I can't be more specific.

First of all, your homepage PHP file needs to have a statement that makes it require global.php. Look in your forums/index.php file, very near the top is a statement that says "require" and "global.php" in it. Copy that line and put it in the same place in your homepage PHP file.

Now look around in index.php. The major functions are identified fairly well. For example, you probably want the part that starts with "// if user is know, then welcome". Copy that entire section of code into your homepage PHP file. Look around for any other parts you might want, too, like the PM notification or Who's Online. All that stuff is in there. It's really not that hard to find, just don't be afraid to look.
Reply With Quote
  #6  
Old 02-28-2002, 02:03 PM
Lotus Ims's Avatar
Lotus Ims Lotus Ims is offline
 
Join Date: Dec 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Moderators, do you have anyway of confirming my account?? If so please post saying my current license status. If you can't do it, then can we get a admin to do it.

Thanks,

And thanks JJR512 for the info. Once you get my licence confirmed, you can email me at webmaster@mtgforums.com. Thanks.

EDIT, go to my forums. I have hack from here installed. You need to be licensed to ge thacks from here. If you still don't belive me then goto line 1.
Reply With Quote
  #7  
Old 03-01-2002, 01:49 PM
Lotus Ims's Avatar
Lotus Ims Lotus Ims is offline
 
Join Date: Dec 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

**bump**
Reply With Quote
  #8  
Old 03-01-2002, 10:03 PM
Lotus Ims's Avatar
Lotus Ims Lotus Ims is offline
 
Join Date: Dec 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

**bump again** Someone please answer
Reply With Quote
  #9  
Old 03-24-2002, 10:27 PM
mak's Avatar
mak mak is offline
 
Join Date: Mar 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey, i also want this one done on mine. i'm licensed so how do i get details of this,too.

thanks.
Reply With Quote
  #10  
Old 04-07-2002, 10:06 AM
Darren Lewis Darren Lewis is offline
 
Join Date: Mar 2002
Location: England
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm working on this at the moment. I've nearly got it working, but I'm having a problem with the cookies.

If you haven't been to the forums before (and don't have the cookie), it generates a warning message
Quote:
Warning: Cannot add header information - headers already sent by.....
I'm not sure how to solve this. If you've been to the forum page and got the cookie it works OK.

Any ideas?
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:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04192 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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