vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Timeslip Database -for Automotive websites (https://vborg.vbsupport.ru/showthread.php?t=60945)

EvilLS1 01-10-2005 08:16 PM

PKRWUD,
Upload this script to your admincp directory and run it. That should fix your problem.
https://vborg.vbsupport.ru/attachmen...chmentid=19550

scroush,
If you will set me up a test account and PM me the login info I'll try to figure out whats causing your problem when I get home from work tonight (12:00pm est).

PKRWUD 01-10-2005 09:44 PM

You ROCK Evil! :)

Thanks again!!!

EvilLS1 01-11-2005 03:01 AM

PKRWUD,
I noticed that the little icon for the timeslip picture doesn't show up on your timeslips.php page after I uploaded a new timeslip. The icon shows on the details page and the slip shows up in the edit vehicle profile page so I think you just missed a template edit to timeslipsbit when you upgraded. If you replace your timeslipsbit template with the new one it should work.

scroush,
Check your PMs.

Dewayne

PKRWUD 01-11-2005 07:59 AM

Quote:

Originally Posted by EvilLS1
PKRWUD,
I noticed that the little icon for the timeslip picture doesn't show up on your timeslips.php page after I uploaded a new timeslip. The icon shows on the details page and the slip shows up in the edit vehicle profile page so I think you just missed a template edit to timeslipsbit when you upgraded. If you replace your timeslipsbit template with the new one it should work.

Dewayne


Hmmm. You're right. I hadn't noticed that. I just double checked the timeslipsbit template, and I did change it. Still, because it's easy to miss a comma, or such, somewhere, I copied and pasted the code from the instructions again, and the image still doesn't show up in your row. I can see it on your details page, but not the main page. There are others that have the image on the main page, so why doesn't it show up in your row? See, and I thought everything worked perfect. lol. ;)

EvilLS1 01-11-2005 08:09 AM

Quote:

Originally Posted by PKRWUD
Hmmm. You're right. I hadn't noticed that. I just double checked the timeslipsbit template, and I did change it. Still, because it's easy to miss a comma, or such, somewhere, I copied and pasted the code from the instructions again, and the image still doesn't show up in your row. I can see it on your details page, but not the main page. There are others that have the image on the main page, so why doesn't it show up in your row? See, and I thought everything worked perfect. lol. ;)

The reason the others show up is because they just have a link to the slip.. Mine is uploaded.

Wierd... You did upload the new timeslips.php for v2.1 right? If so, and your timeslipsbit template contains the following code it should work:
Code:

<if condition="$tdateline!=''">
<a href="image.php?u=$userinfo[userid]&amp;type=timeslip&amp;dateline=$tdateline" target="_blank"><img src="$stylevar[imgdir_misc]/slipicon.gif" border=0></a>
<else />
$slip
</if>


PKRWUD 01-11-2005 08:19 AM

lol. Man, this is why I build engines better than I build websites. It would seem that I failed to upload the new timeslips.php file. I just did, and all seems to be well with the universe again. :)

Sorry about that.

Thanks again for your help!

EvilLS1 01-11-2005 08:22 AM

No problem. Thanks for verifying that the TD works on 3.0.5. :)

PKRWUD 01-11-2005 10:11 AM

My pleasure. It's the least I could do for all the help you've given me in the past! :)

EvilLS1 01-17-2005 06:54 AM

For those of you who have muscle car or pony car related sites and need some traffic, I've just set up a topsites script called "Top Modern Musclecar Sites". Feel free to submit your site if you'd like.
http://modernmusclecars.net/topsites....php?a=display

PKRWUD 01-17-2005 09:58 AM

Cool idea. :)

Limey-YMR 01-18-2005 04:57 AM

Cool, our Mustang registry was "removed" from Stangnet's voting page because we complained about the obvious vote rigging going on, hopefully you have something that records the IP address of voters in the database and uses cookies too, since web browser proxying (diddling the cookie en route, modifying the POST request etc) is pretty trivial nowadays.

EvilLS1 01-18-2005 05:23 AM

Quote:

Originally Posted by Limey-YMR
Cool, our Mustang registry was "removed" from Stangnet's voting page because we complained about the obvious vote rigging going on, hopefully you have something that records the IP address of voters in the database and uses cookies too, since web browser proxying (diddling the cookie en route, modifying the POST request etc) is pretty trivial nowadays.

I've never used a top sites script before so I'm not sure exactly how "cheat-proof" my list is.. But FWIW it is based on unique hits in and gets reset automatically each month so that new sites have a chance for a high rank.

webnx 01-19-2005 05:09 AM

This looks like a very nice script, I looked over / searched this thread w/o much luck. is there any way to make sub cats? I am in the process of moving over from phpbb, and the current way we have the 1/4 mile times listed is in sections. eg

1. top 50 1/4
2. top 25 N/A 16v
3. top 25 F/I 16v

and so on. is there any way to do this? Thanks for your time!

Dan

EvilLS1 01-19-2005 05:45 AM

Quote:

Originally Posted by webnx
This looks like a very nice script, I looked over / searched this thread w/o much luck. is there any way to make sub cats? I am in the process of moving over from phpbb, and the current way we have the 1/4 mile times listed is in sections. eg

1. top 50 1/4
2. top 25 N/A 16v
3. top 25 F/I 16v

and so on. is there any way to do this? Thanks for your time!

Dan

It would take some work but it can be done. You'd have to add new select fields (i.e. N/A 16V, F.I. 16V) in your admincp and then add a couple more sort options to timelips.php. You'd also need to add in the new field IDs to the queries in the edits you made to the functions files and profile.php.

webnx 01-19-2005 02:13 PM

would you be willing to do this for a fee? I have very little php skills. Thanks

Dan

Quote:

Originally Posted by EvilLS1
It would take some work but it can be done. You'd have to add new select fields (i.e. N/A 16V, F.I. 16V) in your admincp and then add a couple more sort options to timelips.php. You'd also need to add in the new field IDs to the queries in the edits you made to the functions files and profile.php.


EvilLS1 01-19-2005 08:57 PM

Quote:

Originally Posted by webnx
would you be willing to do this for a fee? I have very little php skills. Thanks

Dan

Dan,
I could do it for you but it would probably be a few weeks before I can get to it because I'm working 7 days per week right now and don't have much free time for anything else.. I haven't even got around to upgrading my own site yet. It might be a better idea to post in the service request forum if you want it done soon.

Dewayne

webnx 01-24-2005 08:23 PM

Okay, thats fine. send me a email when your free. webmaster (at) vwsport.com thanks!

Dan

joeychgo 01-25-2005 09:20 PM

Having some problems... Just upgraded to 3.06 (from 3.0)


I Can't Find:

PHP Code:

###### In image.php find:

if ($_REQUEST['type'] == 'profile')
{
    require_once(
'./global.php');



??? I attached the file. I found everything else. I know im in the right file because I found the second modification in image.php. So there must be different coding in 3.06---

EvilLS1 01-25-2005 11:08 PM

Joey,
Try this:

Find:
Code:

if ($_GET['type'] == 'profile')
{
        require_once('./global.php');
}

Replace it with:
Code:

if ($_GET['type'] == 'profile' or $_GET['type'] == 'timeslip')
{
        require_once('./global.php');
}


joeychgo 01-25-2005 11:12 PM

I dont know what that command was suppose to do - It all worked without it - but thanks. I made the change. What does it do??

EvilLS1 01-25-2005 11:18 PM

Quote:

Originally Posted by joeychgo
I dont know what that command was suppose to do - It all worked without it - but thanks. I made the change. What does it do??

It just includes the global file for timeslip images.

Silver_2000_)! 01-26-2005 01:22 PM

In looking to fix the TD on 3.06
This section of member.php has changed from this

PHP Code:

// CUSTOM PROFILE FIELDS
$profilefields $DB_site->query("
    SELECT profilefieldid, required, title, type, data, def, height
    FROM " 
TABLE_PREFIX "profilefield
    WHERE form = 0 " 
iif(!can_moderate(), "
        AND hidden = 0"
) . "
    ORDER BY displayorder
"
); 



to this

>>>>>>>>>>>>>>>>

PHP Code:

// CUSTOM PROFILE FIELDS
$profilefields $DB_site->query("
    SELECT profilefieldid, required, title, type, data, def, height
    FROM " 
TABLE_PREFIX "profilefield
    WHERE form = 0 " 
iif(!($permissions['genericpermissions'] & CANSEEHIDDENCUSTOMFIELDS), "
        AND hidden = 0"
) . "
    ORDER BY displayorder
"
); 

Im no coder so I cant merge the changes

Thanks

Doug

Silver_2000_)! 01-26-2005 04:05 PM

looks like it has also broken some avatars

the avatars end up in red x

If I get properties of the rex x and paste it to a new browser window I get this

Fatal error: Call to a member function on a non-object in /home/talonsv/public_html/forum/image.php on line 211

211 is right after on of the timeslip modifications and 211 is last line in this code

PHP Code:

    if ($_REQUEST['type'] == 'profile')
        {
            
$data 'profilepicdata';
            
$table 'customprofilepic';
            
// No permissions to see profile pics
            
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
            {
                
header('Content-type: image/gif');
                
readfile("./$vboptions[cleargifurl]");
                exit;
            }
        }
        else if (
$_REQUEST['type'] == 'timeslip')
        {
            
$data 'timeslippicdata';
            
$table 'customtimeslippic';
        }
        else
        {
            
$data 'avatardata';
            
$table 'customavatar';
    }

    if (
$imageinfo $DB_site->query_first(


EvilLS1 01-26-2005 08:21 PM

I will take a look at the files from 3.0.6 and post an update later tonight or tomorrow.

EvilLS1 01-27-2005 05:02 AM

Silver_2000_)! ,
I've added some new instructions for vb 3.0.6. Be sure to re-do all the file edits to image.php, member.php, and includes/functions_user.php.

joeychgo and anyone else who has installed on vb 3.0.6 should re-do the file edits to the 3 files listed above aswell.

Instructions for vb 3.0.6 (BETA)

Koby 01-27-2005 06:20 AM

Thanks, just installed... working good on my first try :cool:

Only problem I had was the very last line of code:

###### In your navbar template find:

<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>



###### Below it add:

<td class="vbmenu_control"><a href="timeslips.php?$session[sessionurl]">$vbphrase[timeslips]</a></td>



----------------------------------------------------------------------------------


I guess my installed template (VBclassic) didn't have the first line to add the new line under :-/

I'll figure it out I suppose

EvilLS1 01-27-2005 06:25 AM

Koby,
That bit of code just adds a link to the Timeslip Database in your navbar. You can put the link anywhere or make a button to match your classic style.

Koby 01-27-2005 06:29 AM

Found your icon too now for the classic style, now I just have to figure out how to add it. Great stuff :)

Koby 01-27-2005 06:52 AM

Blah, I thought I had it figured out... I am trying to add the icon in... by copying and editing the same lines of code for the other buttons to suit the location of this icon/link... but this happens:



Code:

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/kobycole/public_html/forums/includes/adminfunctions_template.php(3054) : eval()'d code on line 105


EvilLS1 01-27-2005 06:55 AM

Quote:

Originally Posted by Koby
Blah, I thought I had it figured out... I am trying to add the icon in... by copying and editing the same lines of code for the other buttons to suit the location of this icon/link... but this happens:



Code:

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/kobycole/public_html/forums/includes/adminfunctions_template.php(3054) : eval()'d code on line 105


If you will post your navbar template along with the link to the button you want to use I'll add it for you.

Koby 01-27-2005 07:00 AM

:cool:

Thanks a bunch, I'm completely new to PHP and doing my best to struggle and learn :-/

navbar template:

Code:

<script type="text/javascript">
<!--
function log_out()
{
        ht = document.getElementsByTagName("html");
        ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
        if (confirm('$vbphrase[sure_you_want_to_log_out]'))
        {
                return true;
        }
        else
        {
                ht[0].style.filter = "";
                return false;
        }
}
//-->
</script>

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td class="vbcm" align="$stylevar[left]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

               
                <if condition="$show['member']">
                        <td class="vbcm_b"><a href="usercp.php?$session[sessionurl]"><img border="0" src="$stylevar[imgdir_button]/top_profile.gif" alt="$vbphrase[user_cp]" /></a></td>
                </if>
                <if condition="$show['registerbutton']">
                        <td class="vbcm_b"><a href="register.php?$session[sessionurl]"><img border="0" src="$stylevar[imgdir_button]/top_register.gif" alt="$vbphrase[register]" /></a></td>
                </if>
                <td class="vbcm_b"><a href="faq.php?$session[sessionurl]" accesskey="5"><img border="0" src="$stylevar[imgdir_button]/top_faq.gif" alt="$vbphrase[faq]" /></a></td>
                <td class="vbcm_b"><a href="memberlist.php?$session[sessionurl]"><img border="0" src="$stylevar[imgdir_button]/top_members.gif" alt="$vbphrase[members_list]" /></a></td>



##################you can insert the timeslips here########################





                <td class="vbcm_b"><a href="calendar.php?$session[sessionurl]"><img border="0" src="$stylevar[imgdir_button]/top_calendar.gif" alt="$vbphrase[calendar]" /></a></td>
                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td class="vbcm_b"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img border="0" src="$stylevar[imgdir_button]/top_new.gif" alt="$vbphrase[new_posts_nav]" /></a></td>
                                <else />
                                <td class="vbcm_b"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img border="0" src="$stylevar[imgdir_button]/top_daily.gif" alt="$vbphrase[todays_posts]" /></a></td>
                                </if>
                                <td id="navbar_search" class="vbcm_b"><a href="search.php?$session[sessionurl]" accesskey="4"><img border="0" src="$stylevar[imgdir_button]/top_search.gif" alt="$vbphrase[search]" /></a><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></td>
                        </if>
                        <if condition="$bbuserinfo['userid']">
                                                                <td id="usercptools" class="vbcm_b"><a href="#usercptools"><img border="0" src="$stylevar[imgdir_button]/top_links.gif" alt="$vbphrase[quick_links]" /></a><script type="text/javascript"> vbmenu_register("usercptools", true); </script></td>
                        </if>
                <else />               
                        <if condition="$show['searchbuttons']">
                                <td class="vbcm_b"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a></td>
                                <if condition="$show['member']">
                                <td class="vbcm_b"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbcm_b"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                        </if>
                        <td class="vbcm_b"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
                        <if condition="$bbuserinfo['userid']">                       
                                <td class="vbcm_b"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>                       
                        </if>                       
                </if>
                <if condition="$bbuserinfo['userid']">
                        <td class="vbcm_b"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()"><img border="0" src="$stylevar[imgdir_button]/top_logout.gif" alt="$vbphrase[log_out]" /></a></td>
                </if>
        </tr>
        </table>
<!-- / nav buttons bar -->

        </td>
</tr>
</table>
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
       
        <if condition="$show['searchbuttons']">
        <!-- header quick search form -->
        <div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead">$vbphrase[search_forums]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                        <form action="search.php" method="post">
                                <input type="hidden" name="do" value="process" />
                                <input type="hidden" name="showposts" value="0" />
                                <input type="text" class="bginput" name="query" size="20" />$gobutton<br />
                        </form>
                        </td>
                </tr>
                <tr>
                        <td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td>
                </tr>
                </table>
        </div>
        <!-- / header quick search form -->
        </if>

        <if condition="$show['member']">
        <!-- user cp tools menu -->
        <div class="vbmenu_popup" id="usercptools_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
               
                <tr><td class="thead">$vbphrase[quick_links]</td></tr>               
                <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if>
                <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
                               
                <tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr>
                <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
                <if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
               
                <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
                <if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
                <tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
                <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>
               
                </table>
        </div>
        <!-- / user cp tools menu -->
        </if>
<!-- / NAVBAR POPUP MENUS -->
</if>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output


Koby 01-27-2005 07:02 AM

I'll be glad to see how you edit it to make it work so I'll know how to do it in the future :)

EvilLS1 01-27-2005 07:08 AM

Find:
Code:

                <td class="vbcm_b"><a href="memberlist.php?$session[sessionurl]"><img border="0" src="$stylevar[imgdir_button]/top_members.gif" alt="$vbphrase[members_list]" /></a></td>
Below it add:
Code:

                <td class="vbcm_b"><a href="timeslips.php?$session[sessionurl]"><img border="0" src="http://www.posdsm.com/forums/classic_images/buttons/top_timeslips.gif" alt="Timeslip Database" /></a></td>

Koby 01-27-2005 07:14 AM

hey I got it on my own... i had the code ++++ed up myself... fixed it :cool:

Thanks anyways :)

Silver_2000_)! 01-27-2005 12:27 PM

Quote:

Originally Posted by EvilLS1
Silver_2000_)! ,
I've added some new instructions for vb 3.0.6. Be sure to re-do all the file edits to image.php, member.php, and includes/functions_user.php.

joeychgo and anyone else who has installed on vb 3.0.6 should re-do the file edits to the 3 files listed above aswell.

Instructions for vb 3.0.6

You rock - Timeslips works Great now...

The avatars are still screwed up though ..

When a member tries to upload an avatar they get this error

Quote:

Parse error: parse error, unexpected $ in /home/talonsv/public_html/forum/includes/functions_upload.php on line 414
Line 414 is the last line of the file

The avatars that are a red X have this code generating them -

Which pasted in a browser resulst in this
Quote:

Fatal error: Call to a member function on a non-object in /home/talonsv/public_html/forum/image.php on line 213
Line 213 is 8 lines below this modification

PHP Code:

else if ($_REQUEST['type'] == 'timeslip')
        {
            
$data 'timeslippicdata';
            
$table 'customtimeslippic'


Big Kahuna 01-28-2005 01:59 AM

I have a racing site at www.moparstyle.com and this would be the coolest hack yet. I just need to make sure it works before I install it. I'm running 3.0.6 with a couple of the standard hacks. Are the problems some of the people are reporting just loose nuts behind the keyboard and I won't have any trouble with vB Timeslip Database v2.1 (for vb 3.0.6 or later).zip -- or is there a problem that I need to let get ironed out?

EvilLS1 01-28-2005 03:35 AM

Silver_2000_)! ,
I'm still using vb 3.0.1 so I'll have to install a vb 3.0.6 test forum on my PC to see if I can figure out what has changed. It'll be a while before I have time to do this so in the mean time if you want to remove the edits to image.php and functions_upload.php you can still use the hack and there will be no errors with the avatars. Just disable timeslip uploads in the admincp (people can still link to them).

If anyone else has this hack installed on 3.0.6 with timeslip uploads enabled and not experiencing the errors with the avatars please let me know.

Koby,
The fetch_profilefields() function is called from your functions_user.php file. It sounds like something wasn't copied and pasted correctly in that file. Carefully re-apply the file edits to a fresh un-edited includes/functions_user.php and it should fix the error.

Big Kahuna,
The vb versions that this hack is confirmed to work with are 3.0.0 - 3.0.5. The jury is still out on 3.0.6. I'm still using 3.0.1 so I'm not sure if the error that Silver_2000_)! mentioned is site specific or a compatibility issue with the hack. I'll have to install a 3.0.6 test forum and see for myself when I get some free time.

Big Kahuna 01-28-2005 03:42 AM

I might give it a shot tomorrow on my testforum

EvilLS1 01-28-2005 03:44 AM

Quote:

Originally Posted by Big Kahuna
I might give it a shot tomorrow on my testforum

If you do, please let me know if you experience the same errors as Silver_2000_)!.

Thanks,
Dewayne

Silver_2000_)! 01-28-2005 04:10 AM

Quote:

Originally Posted by EvilLS1
If you do, please let me know if you experience the same errors as Silver_2000_)!.

Thanks,
Dewayne

Im embarrased to say that the avatars issue seemed to be related to having 2 versions of timeslips edits in the image.php

PHP Code:

// ######################### REQUIRE BACK-END ############################
if ($_GET['type'] == 'profile' or $_GET['type'] == 'timeslip')
if (
$_REQUEST['type'] == 'profile' or $_REQUEST['type'] == 'timeslip'

I had 2 similar lines there ... Removed the second line and the avatars went back to normal- What was weird was that it didnt affect all avatars...

Sorry for the fire drill.


All times are GMT. The time now is 02:54 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.02344 seconds
  • Memory Usage 1,932KB
  • 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
  • (8)bbcode_code_printable
  • (6)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete