![]() |
ok, now I'm running into some problems, lol. I don't have the MySQL access to the directory, so it's a coding problem (vBHacker added the query correctly, I wish all hacks where like this) anyway, it tells me it can't find
Code:
$permissions=getpermissions(); |
Quote:
|
I think I found a fix if you're having this problem
find PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
I'll try that! Thanks!
|
Let me know if it works for you.
|
Ok, will do. It might take a few days to make sure it's not going to use the same two names.
|
Quote:
|
Has anyone figured out how to allow for the member of the day's avatar to show and/or a link to their profile?
Thanks. |
This hack provides a link to their profile. :)
Quote:
Quote:
|
I am very new to this hacking thing, but I spent some time trying to do this myself, and I shocked myself! I added this to the boardstat.php hack so I could put it on a non-vb page. I hope I do not confuse anyone, but here is what I did and a screen shot. I am very pleased with the results.
in the boardstat.php file I added this to the end of the "member of the day stuff": if ($memberoftheday[userid]!=0) { $avatarurl2=getavatarurl($memberoftheday[userid]); if ($avatarurl2=='') { $avatarurl2='images/avatars/noavatar.gif' ; } $avatarimage2='<img src="http://www.cacfriends.com/shareacard/forums/upload/ '.$avatarurl2.'" border="0" height=38>'; } And at the bottom of the page just before the ?> I placed this (right HTML output): </td> <td width=40% align=right> <font size=1 face=verdana>Newest member <a href=\"http://www.cacfriends.com/shareacard/forums/upload /member.php?s=&action=getinfo&userid=$newuserid\">$ newusername</a><br> <font size=1 face=verdana>Member of the day is: <font color=yellow><b>$memberoftheday[username]</font></b><br> <font size=2 face=verdana><b><a href=\"http://www.cacfriends.com/shareacard/forums/upload /member.php?s=&action=getinfo&userid=$memberoftheda y[userid]\">$avatarimage2</b></a><br></td></table>"; WITH THE BLUE ITEMS NEEDING TO BE CHANGED TO YOUR SITE SPECS Everything is working just fine, here is a link to the testpage I have it on: My test page and a screen shot too. I hope I didn't screw anyting else up, I guess time will tell. This is more fun then I thought :D |
All times are GMT. The time now is 02:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|