The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Main Site Page Login/Private Message Hack Request
I was wondering if there is a way to just do a login/log off on the front page of my site, and have it show your Private Message (if any) hack?
I have seen a few remote login hacks, but none shows the Private Messages. Is this possible? |
#2
|
||||
|
||||
1- make it a php file (rename it as index.php)
2- add: PHP Code:
3- before ?> part you can query the db to get pms PHP Code:
Well this is basically the structure you need but a little bit PHP knowledge to apply will help a lot.. |
#3
|
|||
|
|||
Hi and thanks for the quick reply, but maybe you can help me a little bit more.
First, my site is www.ac2hq.com In the top navbar, near Skins, I was hoping to put the login, password info. That little area is a seperate little template php file called skins.php that gets called. Anyways, I put this in that file but no luck. PHP Code:
Any idea what I did wrong? |
#4
|
||||
|
||||
1- did u get a error message?
2- have you loaded the page after you logged-in to your board? Let's test it, try this code and it will give you the clues: PHP Code:
|
#5
|
|||
|
|||
Ok this is what I get:
Array Array Array userid=1 username=Mithan Unlogged in people get: userid=0 username=Unregistered PS thanks again for the help |
#6
|
||||
|
||||
sorry my bad, replace line:
echo " $unreadpm $newpm $allpm"; AS: PHP Code:
As for login info you can add this code: PHP Code:
|
#7
|
|||
|
|||
Ok that all seems to be working great. One last question, where can I find a Log in code that will work with this? (ie- allow you log in remotly).
|
#8
|
||||
|
||||
PHP Code:
|
#9
|
|||
|
|||
Actually I found that the table within vB worked...
Quote:
Now to just figure out the code to make that Private Message think clickable, so it takes you to your messages |
#10
|
||||
|
||||
Quote:
echo "<href=".$pmlink.">your PMs></a>"; |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|