PDA

View Full Version : Timezone Image In Profile


Nutz
11-22-2005, 10:00 PM
Timezone Image In Profile

Description
This plug-in will allow you to have a world timezone image in user profile view.(see screenshot).

Details

1 Product
1 Phrase
1 Template Modification


Notes
Requires 1 small template modification to MEMBERINFO.
The time zone image is selected from the users Timezone options.

History
1.0
Initial Version

1.5
Time and date is imprinted on the timezone image.

1.5.1
Some stupid mistakes by me o_O

Last Words
I hope you enjoy the hack!
And don't forget to click install please :)

https://vborg.vbsupport.ru/
(https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=101415)
Thanks,
Mat

Boofo
11-23-2005, 04:52 PM
Does this reply on an outside link to show the image?

Nutz
11-23-2005, 04:53 PM
No the image is made from the users timezone options.

Thanks,
Mat

Boofo
11-23-2005, 05:10 PM
Then I'll give it a shot, sir. Looks good! ;)

(Now where did I see that install button?)

Nutz
11-23-2005, 05:22 PM
Cool. Let me know how it goes :)

Thanks,
Mat

ConqSoft
11-23-2005, 05:38 PM
Looks interesting. How about having it show that user's current time/date as well?

Nutz
11-23-2005, 05:39 PM
He, just what I?m doing now ;)

Thanks,
Mat

davidw
11-23-2005, 06:08 PM
<font color="SeaGreen">* christianb subscribes to this thread</font> (I like the date/time option as well)

Boofo
11-23-2005, 06:44 PM
* christianb subscribes to this thread (I like the date/time option as well)
What date/time option? ;)

Boofo
11-23-2005, 06:46 PM
He, just what I?m doing now ;)

Thanks,
Mat

I already made a hack to do that. You might want to incorporate it into this for those that don;t already have it. ;)

It works in posts as well. ;)

Got this hack installed and looking good, sir. I replaced the joingroups area on the right with this. It makes it look a lot better I think. ;)

ConqSoft
11-23-2005, 07:03 PM
Yep, installed both here too. Work well together. Thanks.

Boofo
11-23-2005, 07:19 PM
Nutzz, I'm going to make the files a little smaller in filesize. When I get them done I will post them for you here if you want to use them. The quality will be the exact same.

Nutz
11-23-2005, 07:42 PM
I already made a hack to do that. You might want to incorporate it into this for those that don?t already have it.

Nice hack, can i use some of the code for the date/time :)

Nutzz, I'm going to make the files a little smaller in filesize. When I get them done I will post them for you here if you want to use them. The quality will be the exact same.

Yeah sure. And if any one wants to make a more exciting images please feel free to post them and I will add them to the zip :)

Oh and if there are any graphics gurus out there that would be interested in making some sun set and sun rise images please contact me :)

Thanks,
Mat

dieselpowered
11-23-2005, 08:11 PM
Cool I think I will look into using this :)

Boofo
11-23-2005, 08:23 PM
Nice hack, can i use some of the code for the date/time :)



Yeah sure. And if any one wants to make a more exciting images please feel free to post them and I will add them to the zip :)

Oh and if there are any graphics gurus out there that would be interested in making some sun set and sun rise images please contact me :)

Thanks,
Mat

Yes and you should be able to dump that query using that code. Just make sure I get in the credits for all Kirby's, I...I... mean my hard work though. ;)

dieselpowered
11-23-2005, 09:29 PM
So has this been updated to include boofo's hack?

dieselpowered
11-24-2005, 01:04 AM
Big fat error when trying to view member info:

Database error in vBulletin 3.5.1:

Invalid SQL:

SELECT timezoneoffset
FROM vb3_user
WHERE user.userid = 1;

MySQL Error : Unknown table 'user' in where clause
Error Number : 1109
Date : Wednesday, November 23rd 2005 @ 08:03:17 PM
Script : http://www.weapondepot.com/vbtesting/forums/member.php?find=lastposter&f=2
Referrer : http://www.weapondepot.com/vbtesting/forums/index.php?
IP Address : XX.XX.XX.XX
Username : XXXXXXX
Classname : vb_database

ConqSoft
11-24-2005, 01:05 AM
Ah yes... Missed a table prefix. Easy fix.

ConqSoft
11-24-2005, 01:07 AM
In the plugin, change this:


SELECT timezoneoffset
FROM " . TABLE_PREFIX . "user
WHERE user.userid =


To this:


SELECT timezoneoffset
FROM " . TABLE_PREFIX . "user
WHERE " . TABLE_PREFIX . "user.userid =

dieselpowered
11-24-2005, 01:20 AM
Darnit....I should have seen that!!! Sorry about that! Thank you :)

dieselpowered
11-24-2005, 01:55 AM
So then it would be correct to assume that this hack makes a query to the db? Is there anyway to get rid of that query?

rb290
11-24-2005, 05:50 AM
hmmm i got another hack installed: The Awards Hack
this is what the MEMBERINFO looks like when i go to edit
with the </table> $footer at the bottom
<!-- Award detail list -->
<if condition="$show['userawards']">
<a name="award"></a>
<br>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3" align="center">$vbphrase[award_showcase]</td>
</tr>
<tr>
<if condition="$vboptions[aw_showicon]">
<td class="thead" nowrap>$vbphrase[award_icon]</td>
</if>
<if condition="$vboptions[aw_showimage]">
<td class="thead" nowrap>$vbphrase[award_image]</td>
</if>
<td class="thead" width="100%">$vbphrase[award_description]</td>
</tr>
$userawardslistbits
</table>
</if>
<!-- /Award detail list -->

$footer

Boofo
11-24-2005, 05:54 AM
In the plugin, change this:


SELECT timezoneoffset
FROM " . TABLE_PREFIX . "user
WHERE user.userid =


To this:


SELECT timezoneoffset
FROM " . TABLE_PREFIX . "user
WHERE " . TABLE_PREFIX . "user.userid =


No, that is wrong. user.userid is NOT a table. The original code is correct. ;)

ConqSoft
11-24-2005, 05:59 AM
Umm. user is a table. In his case, it should have been the following, and my listed code change would correct it.


SELECT timezoneoffset
FROM vb3_user
WHERE vb3_user.userid = 1;

Boofo
11-24-2005, 06:09 AM
Umm. user is a table. In his case, it should have been the following, and my listed code change would correct it.


SELECT timezoneoffset
FROM vb3_user
WHERE vb3_user.userid = 1;


You're missing the point. Yes, user IS a table, but user.userid is not. It is a column of that table. The original code is correct, sorry. ;)

ConqSoft
11-24-2005, 06:16 AM
Then explain his error:

SELECT timezoneoffset
FROM vb3_user
WHERE user.userid = 1;

MySQL Error : Unknown table 'user' in where clause

When you reference user.userid you ARE referencing the user table. He doesn't have a user table. He has a vb3_user table. So, it needs to be vb3_user.userid. Or, alternatively, leaving the table off completely and just using userid should work too, since there's only one userid field and there should be no ambiguity.

I don't program in PHP (ASP instead), but I do SQL work for a living, so I know how to reference tables and fields therein.

xtremeoff-road,
Did adding the prefix fix your problem?

Nutz
11-24-2005, 06:40 AM
So then it would be correct to assume that this hack makes a query to the db? Is there anyway to get rid of that query?

Not at the moment but its only one query extra for member view :)

hmmm i got another hack installed: The Awards Hack
Can you post A link please.

@The SQL error: I fail to see why you would need the TABLE_PREFIX in the where statement take function "fetch_avatar_url"


WHERE user.userid = $userid

But if adding the table prefix works then i will change the product :/

Thanks,
Mat

Boofo
11-24-2005, 06:53 AM
Then explain his error:

SELECT timezoneoffset
FROM vb3_user
WHERE user.userid = 1;

MySQL Error : Unknown table 'user' in where clause

When you reference user.userid you ARE referencing the user table. He doesn't have a user table. He has a vb3_user table. So, it needs to be vb3_user.userid. Or, alternatively, leaving the table off completely and just using userid should work too, since there's only one userid field and there should be no ambiguity.

I don't program in PHP (ASP instead), but I do SQL work for a living, so I know how to reference tables and fields therein.

xtremeoff-road,
Did adding the prefix fix your problem?

Well, adding that isn't going to fix the problem. You are calling a column from a table, and in that sense you wouldn't use a table prefix on a column. ;)

Mastar
11-24-2005, 12:57 PM
I don't see it in my usercp options nor in the admincp

ConqSoft
11-24-2005, 01:44 PM
You are calling a column from a table, and in that sense you wouldn't use a table prefix on a column. ;)
You're not getting it... You're trying to call a column from a table that DOES NOT EXIST though.

user.userid.

The first part, user, defines the table to look for the second part, userid, which is the fieldname.

Code Monkey
11-24-2005, 01:52 PM
You only need a table name on a collumn if you are using JOIN, to distinguish the table. And even then you should asign it a value, " . TABLE_PREFIX . "user AS user, so you wouldn't need the prefix more than once.

In this case, you don't need the table name to be attached to the collumn at all.



SELECT timezoneoffset
FROM " . TABLE_PREFIX . "user
WHERE userid =

ConqSoft
11-24-2005, 01:56 PM
Exactly, which is the alternative I suggested. Though, adding the prefix will also correct it.

dieselpowered
11-24-2005, 02:18 PM
xtremeoff-road,
Did adding the prefix fix your problem?

Yes it did :)

Mastar
11-24-2005, 05:54 PM
K, now where would I know that this has been installed, in the ACP/Forum?

ConqSoft
11-24-2005, 05:57 PM
K, now where would I know that this has been installed, in the ACP/Forum?
It'll show up as a product and you'll see its plugin, but there's no settings to administer. It just shows up on the user's profile page.

Nutz
11-24-2005, 06:57 PM
Just a little update; I?m having problems with adjusting Boofo?s code to work with the hack but at the same time not mess up the users current time (the one looking at the profile).

Thanks to Boofo and ConqSoft helping people out when I?m not around :)

Thanks,
Mat

davidw
12-05-2005, 02:09 PM
<font color="SeaGreen">* christianb clicks install</font>

davidw
12-05-2005, 02:37 PM
I found out after the fact that this product had not been updated with the fix (mentioned on page 2). I had to manually update the product to:

SELECT timezoneoffset
FROM " . TABLE_PREFIX . "user
WHERE " . TABLE_PREFIX . "user.userid =

and now it works

Boofo
12-05-2005, 05:42 PM
Just a little update; I?m having problems with adjusting Boofo?s code to work with the hack but at the same time not mess up the users current time (the one looking at the profile).

Thanks to Boofo and ConqSoft helping people out when I?m not around :)

Thanks,
Mat

I use that same code in the profile without any problems. What are you having trouble with?

Boofo
12-05-2005, 05:43 PM
You only need a table name on a collumn if you are using JOIN, to distinguish the table. And even then you should asign it a value, " . TABLE_PREFIX . "user AS user, so you wouldn't need the prefix more than once.

In this case, you don't need the table name to be attached to the collumn at all.



SELECT timezoneoffset
FROM " . TABLE_PREFIX . "user
WHERE userid =


Thank you. That was all I was trying to point out. ;)

Nutz
12-05-2005, 10:01 PM
I use that same code in the profile without any problems. What are you having trouble with?

Oops I just found this hack: https://vborg.vbsupport.ru/showthread.php?t=94869

Makes my hack more of an add-on, sorry I missed that hack of yours :)

I don?t think I need to include the person?s localtime. People can simple use your hack.

I?ve edited the hack to include a link to yours, if you do the same there should be no problems :)

Thanks,
Mat

Boofo
12-05-2005, 10:35 PM
Oops I just found this hack: https://vborg.vbsupport.ru/showthread.php?t=94869

Makes my hack more of an add-on, sorry I missed that hack of yours :)

I don?t think I need to include the person?s localtime. People can simple use your hack.

I?ve edited the hack to include a link to yours, if you do the same there should be no problems :)

Thanks,
Mat

Is there a way to overlay the time and date on the map itself? That would be the ideal solution.

Nutz
12-06-2005, 08:47 AM
Version 1.5 released: Time and date is now imprinted on the timezone image.

When somebody installs 1.5 can they send me a screenshot please :)

Thanks,
Mat

Scooterpig
12-06-2005, 08:58 AM
3 things please as I like this but it aint working for me at the moment -

1 - have an error when trying to import xml file - XML Error: XML_WAR_UNKNOWN_VERSION at Line 51

2 - the instructions say to import the gmt (even tho the file has a gmti) folder to skins/misc - where is the skins folder?

3 - I take it the gmtimage.php file goes into forum/root?

Nutz
12-06-2005, 09:08 AM
Sorry about that Intrepid,
Just some stupid mistakes by me o_O.
I?ve updated the zip :)

Thanks,
Mat

bplinson
12-06-2005, 10:23 AM
Installed but I do not see the map...just a block that say My Timezone. I am also running vBportal and have the forums directory under the portal directory. Don't know if this matters or not.

When I right click and view image on the My Timezone block this is the message I get:

The image ?http://mywebsite.net/vbportal/forums/gmtimage.php?gmt=0&localtime=14:34&localdate=6th%20December%202005#gif.gif? cannot be displayed, because it contains errors.

Nutz
12-06-2005, 10:38 AM
Hello bplinson,
Can you try this php file please.

Thanks,
Mat

bplinson
12-06-2005, 10:59 AM
That works (thanks!) but the image is very pixelated.

Nutz
12-06-2005, 11:06 AM
Just looked at your site, the image is too pixelated :\
The problem is your host does not support the function imagegif, so that quick fix just checks what image functions will work and makes it in that format eg. Jpg or png or bmp.

I will try and improve the quality for for people who can not run imagegif :)

Thanks,
Mat

Nutz
12-06-2005, 11:08 AM
Try this.

Thanks,
Mat

Nutz
12-06-2005, 02:37 PM
Added Screenshot for 1.5 :)

Thanks,
Mat

bplinson
12-06-2005, 02:47 PM
Perfect!!! Thanks for the help.

funinthesun
12-06-2005, 03:57 PM
Installed and working perfectly. Thank you :)

Nutz
12-06-2005, 05:52 PM
Glad to hear it :)

Thanks,
Mat

Scooterpig
12-06-2005, 09:24 PM
Bugga..:( I'm obviously doing something wrong as I also get the same block of My Timezone only and no images but when I click on view image i get this error - Fatal error: Call to undefined function imagecreatefromgif() in c:\wamp\www\351test\gmtimage.php on line 37

Any suggestions please?

PS - I tried both of the newer .php files you posted and same error..:(

Nutz
12-06-2005, 10:55 PM
Sorry This hack won't work on your site.

GIF support was removed from the GD library in Version 1.6, and added back in Version 2.0.28. This function is not available between these versions.

Your host must be running a version between 1.6 and 2.0.28 :(

Thanks,
Mat

kadafi_alive
12-30-2005, 09:15 AM
Hmm,

Several errors are showing on my errorlog in cpanel:

[Fri Dec 30 10:33:08 2005] [error] PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/xxxxxxx/public_html/gmtimage.php on line 51
[Fri Dec 30 10:33:08 2005] [error] PHP Warning: imagegif(): supplied argument is not a valid Image resource in /home/xxxxxxx/public_html/gmtimage.php on line 50
[Fri Dec 30 10:33:08 2005] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxx/public_html/gmtimage.php:37) in /home/xxxxxxx/public_html/gmtimage.php on line 49
[Fri Dec 30 10:33:08 2005] [error] PHP Warning: imagestring(): supplied argument is not a valid Image resource in /home/xxxxxxx/public_html/gmtimage.php on line 47
[Fri Dec 30 10:33:08 2005] [error] PHP Warning: imagestring(): supplied argument is not a valid Image resource in /home/xxxxxxx/public_html/gmtimage.php on line 46
[Fri Dec 30 10:33:08 2005] [error] PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/xxxxxxx/public_html/gmtimage.php on line 41
[Fri Dec 30 10:33:08 2005] [error] PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/xxxxxxx/public_html/gmtimage.php on line 40
[Fri Dec 30 10:33:08 2005] [error] PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/xxxxxxx/public_html/gmtimage.php on line 39
[Fri Dec 30 10:33:08 2005] [error] PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/xxxxxxx/public_html/gmtimage.php on line 38
[Fri Dec 30 10:33:08 2005] [error] PHP Warning: imagecreatefromgif(gmti/gmt_5.5.gif): failed to open stream: No such file or directory in /home/xxxxxxx/public_html/gmtimage.php on line 37

docvader
01-06-2006, 12:29 AM
Installed nicely, but my time zone states "error error" on the lower left of the gif. Any idea why it can't figure out the time??
Thanks!
rich


http://russbo.org/vb/member.php?u=1&styleid=41

Robbed
01-06-2006, 11:39 PM
Nice job, the only i would suggest is moving the gmti folder to \forum\images.

I already did for mine.

utw-Mephisto
01-07-2006, 01:59 AM
I cannot even upload the images .. As far as I can see there is a komma in the filename, I don't think this is a valid name, either on Windows nor Linux ..

Danny Diamond
01-08-2006, 11:12 AM
installed and works fine. thanks

Nutz
01-14-2006, 07:56 AM
Glad to hear it :)

Thanks,
Mat

bashy
01-14-2006, 02:50 PM
Hi

I have installed this but please see image and let me kow how to resolve it if you can please, anyone :)

Club3G
01-14-2006, 05:15 PM
It's appearing outside of the main profile field box for me. Any way to move it to where Group Memberships is now?

Example:
http://www.sevenstring.org/forum/member.php?u=23

Working fine otherwise, thanks. :)

* Club3G clicks install

bashy
01-15-2006, 04:30 PM
Sounds like the same problem i have (cant check as i have to reg on your site)

To get rid of the error error ENABLE the product :)

Can anyone advise on the other problem please?

It's appearing outside of the main profile field box for me. Any way to move it to where Group Memberships is now?

Example:
http://www.sevenstring.org/forum/member.php?u=23

Working fine otherwise, thanks. :)

* Club3G clicks install

docvader
01-15-2006, 04:52 PM
I fixed it by reinstalling the product.

docvader
01-15-2006, 05:49 PM
Hi

I have installed this but please see image and let me kow how to resolve it if you can please, anyone :)
Bashy
I'm far from being an html god, but, what I do in these situations, is I use either FrontPage or Dreamweaver, put that vb code into the BODY of a NEW FP page, and then redesigin the page so that it looks good.

Then take the finished FP code from between the body tags, and that's your updated template. Your issue just has to do with table tags.

http://russbo.org/vb/member.php?u=1

rich

bashy
01-15-2006, 06:07 PM
Nice one m8 well done..Tis all sorted now :)
Thanks alot :)


Bashy
I'm far from being an html god, but, what I do in these situations, is I use either FrontPage or Dreamweaver, put that vb code into the BODY of a NEW FP page, and then redesigin the page so that it looks good.

Then take the finished FP code from between the body tags, and that's your updated template. Your issue just has to do with table tags.

http://russbo.org/vb/member.php?u=1

rich

Boofo
01-15-2006, 09:01 PM
It's appearing outside of the main profile field box for me. Any way to move it to where Group Memberships is now?

Example:
http://www.sevenstring.org/forum/member.php?u=23

Working fine otherwise, thanks. :)

* Club3G clicks install

That's how I did it. Just FIND:

<td class="tcat" width="50%">$vbphrase[group_memberships]</td>

REPLACE it with:

<td class="tcat" width="50%">$vbphrase[timezone_image]</td>

Then FIND:

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0">
<tr>
<if condition="$show['membergroups']">
<td></td>
<else />
<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td>
</if>
</tr>
$membergroupbits
</table>
</div>

</div>
</div>
</td>

REPLACE it with:

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[center]">

<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0">
<tr>
<td><img src="gmtimage.php?gmt=$userinfo[timezoneoffset]&localtime=$userinfo[localtime]&localdate=$userinfo[localdate]#gif.gif" alt="$vbphrase[timezone_image]"/></td>
</tr>
</table>
</div>

</div>
</div>
</td>

and you should be all set. ;)

Nutz
01-16-2006, 02:08 PM
Thanks for that Boofo :)

Thanks,
Mat

bashy
01-16-2006, 03:50 PM
Hi boofo..

I have tried you we method...to no avail..

Now the thing is mt profile looks oks, this maybe cause
i have my PM info such as skyp adn msn and all the showing..The one in the attachment dont have that, and looks well out of place, Is there out you can
do please to sort it for m8?

Please see attachment :)

Regards

Bashy

Boofo
01-16-2006, 05:01 PM
Hi boofo..

I have tried you we method...to no avail..

Now the thing is mt profile looks oks, this maybe cause
i have my PM info such as skyp adn msn and all the showing..The one in the attachment dont have that, and looks well out of place, Is there out you can
do please to sort it for m8?

Please see attachment :)

Regards

Bashy

The code I gave you is supposed to replace the joined groups area. If you want it listed below it, then that is something else. I tried doing it that way and I could never get it to look right so I gave up on that way of doing it and settled on the way I have it now. ;)

bashy
01-16-2006, 09:56 PM
Yeah i tried your way m8 but everything went up the swanny :(


The code I gave you is supposed to replace the joined groups area. If you want it listed below it, then that is something else. I tried doing it that way and I could never get it to look right so I gave up on that way of doing it and settled on the way I have it now. ;)

Boofo
01-17-2006, 01:47 AM
Yeah i tried your way m8 but everything went up the swanny :(

Check the edits you did and re-do them. That is the code I use and it is working for me. You missed something somewhere.

TheAllusionist
01-29-2006, 10:28 PM
This may have been covered but I thought I would toss it out real quick while I stopped by to hit the installed button. The images that are 4.5 or 5.5 actually have 4,5 or 5,5 in the names, I had to rename them with periods instead of the comma's to get the image to show in the user profiles that were in a timezone that was halfway between two others. Just thought I would mention it, sounds like the problem some people are having, since the full time zones just have a full interger like 4 or 5 in the names the problem has probably gone unnoticed. If I am wrong I appologize, but this fixed the problem that some of my users had. FWIW

Thanks for the great hack!

Gripemaster
01-29-2006, 10:50 PM
Very nice hack, thank you!

*Clicks install*

Boofo
01-29-2006, 11:30 PM
This may have been covered but I thought I would toss it out real quick while I stopped by to hit the installed button. The images that are 4.5 or 5.5 actually have 4,5 or 5,5 in the names, I had to rename them with periods instead of the comma's to get the image to show in the user profiles that were in a timezone that was halfway between two others. Just thought I would mention it, sounds like the problem some people are having, since the full time zones just have a full interger like 4 or 5 in the names the problem has probably gone unnoticed. If I am wrong I appologize, but this fixed the problem that some of my users had. FWIW

Thanks for the great hack!

I haven't run into that yet but I would think they would work the same way with the commas, wouldn't they?

TheAllusionist
01-30-2006, 03:18 AM
On my site it didn't just thought I would pass it along, when the image wasn't working I checked to see what the php error was and it was looking for 5.5 not 5,6 so I renamed them and everything seemed to work. Just trying to share somebody else some legwork ;) Nice Hack

mikeclarke
01-30-2006, 04:10 AM
gif not showing up? any advice?

http://www.thegirlsbathroom.com/forums/member.php?u=1

Kihon Kata
01-30-2006, 04:29 AM
Installed! On my 4 styles also! Users love it and it works well. I editing the HTML a bit

shaynehammy
02-07-2006, 07:01 AM
How do i get this timezone to appear to appear under group memberships rather than additional information in the users profile?

Thanks for the help

Shayne

WNxWakko
03-18-2006, 08:16 PM
The image in the profile is showing as a dead image.

I uploaded gmti folder full of images under forum root, then under images. Nothing.

When I right click the dead image for path, it says,
Forum/gmtimage.php?gmt=-7&localtime=03:17 PM&localdate=03-18-

snowman872
03-23-2006, 12:23 PM
Very nice ... thanks for the hack! Installed easily on 3.5.3.

*clicks install*

Nutz
03-27-2006, 09:39 AM
The image in the profile is showing as a dead image.

I uploaded gmti folder full of images under forum root, then under images. Nothing.

When I right click the dead image for path, it says,
Forum/gmtimage.php?gmt=-7&localtime=03:17 PM&localdate=03-18-

Sounds like your host does not support image generation.

Thanks,
Mat

bigmonay2k
03-30-2006, 02:05 AM
what am i doing wrong??
http://img143.imagevenue.com/img.php?loc=loc126&image=91564_timeszone.JPG

Nutz
04-05-2006, 10:40 PM
what am i doing wrong??
http://img143.imagevenue.com/img.php?loc=loc126&image=91564_timeszone.JPG
Are you sure you uploaded all the files?

Thanks,
Mat

hotwheels
04-08-2006, 12:36 AM
I have the map's in my member's profiles, but where the time should be, it just show's ERROR ERROR..........Is there a quick fix for that without me having to go through the code?

Sooner95
04-08-2006, 01:19 AM
Sweet! Click

Nutz
04-08-2006, 03:59 PM
I have the map's in my member's profiles, but where the time should be, it just show's ERROR ERROR..........Is there a quick fix for that without me having to go through the code?
Have you got a link please :)

Thanks,
Mat

mike12345
04-27-2006, 10:19 PM
cool thanks! works 100%

GrendelKhan{TSU
05-29-2006, 06:51 AM
simple goodness!

GK installs!

doggy1
06-20-2006, 11:52 AM
Hello. This looks like a great hack. I uploaded the contents of the file to my forum root. Uploaded the product, and made the template edit.

I looked at a member's profile. The timezone section is there, but the image is showing as a red x. It is looking for the image. This is what I see when I view the properties of that red x.

http://www.mysite.com/gmtimage.php?gmt=-5&localtime=08:51 AM&localdate=06-20-2006#gif.gif

What did I do wrong? Any help would be greatly appreciated!

Elsie
06-29-2006, 12:57 PM
ok, i'm stumped at the first stage..... where is my forum root!?

noj75
06-29-2006, 04:56 PM
ok, i'm stumped at the first stage..... where is my forum root!?

Its where your forum is installed. i.e www.yoursite.com/forum
forum being the name of the folder where all your vB files are.

Great hack.
* noj75 clicks install.

Kind regards.

oberheimhaven
06-29-2006, 05:55 PM
Where do I put the /gif files I installed however its not showing up do I put in misc for my specific templ??, Yep unistalled three times? Went by what you wrote however i see my time zone with red x? Whatam I doing wrong yes I'm, new great hack tho

FLMom
06-29-2006, 06:16 PM
I installed this and it works perfectly!! The only problem I am having is that in your screenshot it shows this under the contact info, but on my site it shows it all the way down on the bottom of my screen under the additional information block and I have to scroll pretty far to see it, how can I change it so it will be where yours is?

Thanks for all of your hard work with this!! :banana:

Elsie
06-29-2006, 06:16 PM
ok i'll rephrase.....

how do i upload files to my forum root?

oberheimhaven
06-29-2006, 06:46 PM
ok i'll rephrase.....

how do i upload files to my forum root?


FTP File transfer pro

Elsie
06-29-2006, 07:01 PM
i don't know enough about ftp for that to be informative enough! lol

oberheimhaven
06-29-2006, 07:07 PM
well time to learn I have been doing a couple of weeks now still learning this is basic tho drag and drop to files go goolge ftp and down load i will help ya Im here Im still trying to get my imgaes to show up I instaleed until i get a answer

Elsie
06-29-2006, 07:22 PM
i can do the actual file transfer bit - it's knowing what login details to use, and where to put the files (which folder etc..)

oberheimhaven
06-29-2006, 08:01 PM
i can do the actual file transfer bit - it's knowing what login details to use, and where to put the files (which folder etc..)

login details to use

your site can you log in to my FTP?

Mine is ftp/www.mysite.com./username/password

Hope this helps

Elsie
06-30-2006, 09:00 AM
i'll take a look later. thanks.

FLMom
06-30-2006, 10:50 PM
I installed this and it works perfectly!! The only problem I am having is that in your screenshot it shows this under the contact info, but on my site it shows it all the way down on the bottom of my screen under the additional information block and I have to scroll pretty far to see it, how can I change it so it will be where yours is?


Thanks for all of your hard work with this!! :banana:


Can anyone help with this please?

oberheimhaven
06-30-2006, 11:27 PM
ME too I cant get anything to come up red X like broken link anyhelp would be priceless plz

Mark
Plug in junkie

Tyegurl
06-30-2006, 11:35 PM
flmom i wish i could help with that one but i don't know about placement unless you change it in a template....and i would look but i seem to be troll ip'd out of my site....if i can get the mod removed and get in i will try to check it out aif i can move mine.

now the red X i might be able to help with ;)

right click on the X and go to properties....make sure you have the image where it needs to be....

example:

http://www.yoursite.com/forumfolder/pic.gif
or http://www.yoursite.com/forumfolder/anotherfolder/pic.gif

adjust your image to where it needs to be...if it needs to be in the forum root MAKE SURE it's there....or in another folder....make sure it's there....

Tyegurl
06-30-2006, 11:39 PM
i'll take a look later. thanks.

filezilla

search for "filezilla sourceforge"

click the link for sourceforge

it will bring up two green boxes...click the top green box....it will take you to another page and click the filezilla.exe file should be about dead center of the filedownloads

DO NOT pick the server filezilla

next....after installation

open program
go to file in the top left corner
go to site manager
add new ftp

www.yoursite.com
port 21 is default do not change it

now in my case i have to use my account name as my shared host doesn't allow for anon logins


so choose what you need to and make sure you save and connect...

problems let me know

oh and on the account login area....just usname and password should work if you click normal.....dont worry about the account box

FLMom
07-02-2006, 12:14 AM
Thanks, I mananged to get it where I wanted but now the table is messed up at the bottom in the membership section...now off to figure that out lol

Tyegurl
07-02-2006, 12:17 AM
Thanks, I mananged to get it where I wanted but now the table is messed up at the bottom in the membership section...now off to figure that out lol

can i be a pain and ask how so i may do the same? i just got back into my forum....forgot i knew how to disable my plugins without being able to access my admincp....duh

anyway you would save me some time if you could post the fix here.

FLMom
07-02-2006, 03:35 AM
Well I just put the code right under the private message section, but in doing so, it messes up the whole bottom of the page and the membership section ends up all mangled and squished. So for now I put everything back to where it was, until I can get an answer here on how to fix it.

So if you really want to do it this way, which I suggest you don't because we all know I am still learning and wouldn't want to be responsible for messing up your board, then just go to your template and find the code for the private messages and put the code under that. If you do this and then figure out how to make everything normal looking then please let me know :D

Tyegurl
07-02-2006, 04:49 AM
<td class="tcat" width="50%">

did you try to maybe either make the 50% smaller or larger?

FLMom
07-05-2006, 06:22 PM
oh no I didn't even think to do that. I am still learning all of this hehe

Thanks! Will try :)

Keyser S?ze
07-05-2006, 08:51 PM
can u or someone post the code changes to make it look like it does in the screenshot? right now it is placed on the next line and not in place of the "what group do u", i have no need for that part , thanks

Keyser S?ze
07-06-2006, 12:00 AM
everyone not staff is just getting a no permission error, what am i not dong i followed the install guide

Tyegurl
07-06-2006, 12:05 AM
just out of curiousity...do you allow profile viewing by members or just staff?

i would check the memberlist and profile options(permissions). but that is also a just a guess...sorry if i am not more helpful...

Keyser S?ze
07-06-2006, 02:09 AM
before i installed this hack anyone could view member profiles

Tyegurl
07-06-2006, 02:11 AM
okay well sorry then...like i said it was just a question....now that you ruled out that...not sure i could help now lol

Muellmann
07-06-2006, 07:30 PM
I very like this hack :) and i pressed install and i tell you thanks!
It works with 3.54 + Gallery hack fine! Such module is very
useful to imagine the zone of a member in one step!
So i will tell not "Good morning" in shoutbox for an Australian
person if i live far away in Europe!

Elsie
07-07-2006, 09:55 AM
before i installed this hack anyone could view member profiles
just a thought....... is it a separate permission within the usergroup manager? ie does it have it's own yes/no buttons?


i don't have it installed, so i don't know. but it's a theory :)

doggy1
07-08-2006, 07:11 PM
flmom i wish i could help with that one but i don't know about placement unless you change it in a template....and i would look but i seem to be troll ip'd out of my site....if i can get the mod removed and get in i will try to check it out aif i can move mine.

now the red X i might be able to help with ;)

right click on the X and go to properties....make sure you have the image where it needs to be....

example:

http://www.yoursite.com/forumfolder/pic.gif
or http://www.yoursite.com/forumfolder/anotherfolder/pic.gif

adjust your image to where it needs to be...if it needs to be in the forum root MAKE SURE it's there....or in another folder....make sure it's there....
I have been having trouble with this red x and have not been able to figure it out. This is the url I get when right clicking properties on the red x. How do you point this to a folder?

http://www.corvettevalley.com/gmtimage.php?gmt=-6&localtime=03:10 PM&localdate=07-08-2006#gif.gif

chkdgate
07-09-2006, 08:39 PM
I installed this and recieved this message :

*EDIT*

I reverted my MEMBERINFO template but that didn't work so I went ahead and did the same to all my templates with no results. Can anyone help me?

Stop
07-10-2006, 04:03 AM
Works great...Thanks
I like it very a lot.

chkdgate
07-10-2006, 06:05 AM
Now it's showing up on line 111. What does this mean?

Edit: I was forgetting to uninstall the plugin after reverting the template and once I did that solved my problem. Let me try this again.

Tyegurl
07-10-2006, 12:06 PM
gmtimage.php needs to be where your vbulletin folders are...which looks like you installed it in the forum root....is there where vbulletin is?

eidt sure is.....okay well let me know how it goes.

make sure you find Member Info Template

and replace:
$footer


<tr>
<td class="tcat" width="50%">$vbphrase[timezone_image]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[center]">
<img src="gmtimage.php?gmt=$userinfo[timezoneoffset]&localtime=$userinfo[localtime]&localdate=$userinfo[localdate]#gif.gif" alt="$vbphrase[timezone_image]"/>
</div>
</div>
</td>

</tr>

</table>

$footer

Tyegurl
07-10-2006, 12:20 PM
I installed this and recieved this message :

*EDIT*

I reverted my MEMBERINFO template but that didn't work so I went ahead and did the same to all my templates with no results. Can anyone help me?


what error?

chkdgate
07-10-2006, 05:49 PM
It was a parse error but I didn't realize that I posted some sensitive server info. I managed to fix it by not only reverting the template but also removing the plugin. It was driving me mad but I figured it out. Thanks Tyegurl.

Tyegurl
07-10-2006, 05:52 PM
yw....i am not sure what i did but you're welcome just the same :D

doggy1
07-11-2006, 10:01 AM
gmtimage.php needs to be where your vbulletin folders are...which looks like you installed it in the forum root....is there where vbulletin is?

eidt sure is.....okay well let me know how it goes.

make sure you find Member Info Template

and replace:
$footer


<tr>
<td class="tcat" width="50%">$vbphrase[timezone_image]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[center]">
<img src="gmtimage.php?gmt=$userinfo[timezoneoffset]&localtime=$userinfo[localtime]&localdate=$userinfo[localdate]#gif.gif" alt="$vbphrase[timezone_image]"/>
</div>
</div>
</td>

</tr>

</table>

$footer

The vbulletin files are in includes and I placed the file there and made certain I made the template edit. Still a red x. Do all the files need to go where the vbulletin files are or just the gmtimage.php one? Thanks.

Kihon Kata
07-22-2006, 02:49 AM
I have installed this back in December. Worked perfectly in my user's profiles for many months.

We grew and I moved the server to a much faster server that included php5 and mysql 5 running vB 3.5.4.

Now I get this(see thumbnail):

Kihon Kata
07-24-2006, 02:59 PM
bump, anyone?

SHalliday
12-03-2006, 09:55 PM
Anyone know if this works with vb3.6.4?

MThornback
12-21-2006, 04:48 AM
Anyone know if this works with vb3.6.4?

Yup it does....I'm having problems with it lately...but I think its an execution order problem...nothing to do with the code itself :)

Chadi
03-02-2007, 12:09 PM
I installed this but find no info at all in admin or usercp about the time zone, nor is it showing up in my profile. I'm using 3.6.4

Nutz
04-20-2007, 09:32 AM
I have no idea if this does work with 3.6.x at the moment, so install it at your own risk. But I do plan on moving this to 3.6.x, so if you can hold up a little while it would be for the best :)

Thanks,
Mat

deezelpope
04-20-2007, 10:02 AM
Ooooh, ok, I'll keep an eye on this one! Can't wait! I love this mod!:up:

Nutz
05-28-2007, 11:19 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=148338" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=148338</a> <-- 3.6.x

Enjoy!