vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Non-vB welcome panel. (https://vborg.vbsupport.ru/showthread.php?t=35502)

Lotus Ims 02-27-2002 02:15 PM

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.

mondaynightmike 02-27-2002 04:48 PM

bump

slideboxer 02-27-2002 05:08 PM

For myself, it was a matter of copying bits of root/index.php and placing them in my homepage php file.

Lotus Ims 02-27-2002 11:46 PM

can you tell me what you did? I am not very good at PHP.

JJR512 02-28-2002 05:52 AM

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. :)

Lotus Ims 02-28-2002 02:03 PM

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.

Lotus Ims 03-01-2002 01:49 PM

**bump**

Lotus Ims 03-01-2002 10:03 PM

**bump again** Someone please answer

mak 03-24-2002 10:27 PM

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

thanks.

Darren Lewis 04-07-2002 10:06 AM

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?

Darren Lewis 04-07-2002 02:42 PM

Forget it, I've got it working OK now.

Darren Lewis 04-08-2002 09:06 AM

I've released the instructions and files as a hack which can be found here

Any questions or problems, then ask in that thread and I'll try to answer them.


All times are GMT. The time now is 04:44 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.01068 seconds
  • Memory Usage 1,732KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete