Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - uksoreeyes

Pages: [1] 2 3 4 5 6
1
Installation, Update & Configuration / Call up data from settings
« on: June 30, 2003, 11:47:03 PM »
Thanks

2
Templates & Styles (Requests & Discussions) / My site
« on: June 30, 2003, 11:46:42 PM »
I don't quite know what you mean gurl

3
Installation, Update & Configuration / Call up data from settings
« on: June 28, 2003, 11:13:24 PM »
Hi I am adding a new feature to my page_header.php and I was wondering if anyone could help.

I need to call some data from the 4images_settings table and I was wondering how to do it.

I know that if I need to call data from the 4images_users I just do the following:
Code: [Select]
$user_info['user_name'];
but I'm stuck on settings. should it be something like this:
Code: [Select]
$setting_item['required_data'];
Thanks in advance

Carl

4
Templates & Styles (Requests & Discussions) / My site
« on: June 25, 2003, 01:50:57 PM »
The font is called 04b_21 and you can download it from here: http://04.jp.org/

5
Templates & Styles (Requests & Discussions) / My site
« on: June 20, 2003, 03:17:09 PM »
hmm, I done that in Internet options and still seen no errors. I got that javascript scrolling script from http://www.eagames.com/official/battlefield1942/features.jsp?state=10010 so I don't know if you will recieve the same errors there. If you do then it must be a fault in the script.

6
Templates & Styles (Requests & Discussions) / My site
« on: June 19, 2003, 10:16:23 AM »
I am running Internet Explorer 6 on Windows XP and there is no JavaScript errors. I am aware that my shoutbox uses some very advanced JavaScript for the scrolling event and this does cause problems on older and Netscape browsers. But my visitors who use such browsers count as about 1% of my total visitors.

I guess in time things will get fixed up. Thanks for the comments by the way, appreciate them.

7
Templates & Styles (Requests & Discussions) / My site
« on: June 19, 2003, 04:57:11 AM »
Just thought I would show off my site for those people who havn't seen it.

I used photoshop 7.0 to create the graphics and dreamweaver MX to put the code together in the templates. I made a lot of changes to the 4images script to get various things working.

The site took me a good 3 months to put together, the shoutbox taking up most of that time as my previous shoutbox stored the shouts in a .txt file. So when I built my new MYSQL shoutbox I had to transfer all 3000 messages over which took ages.

Anyway, thats about it, I hope you like it. I sadly won't be putting my design up for download because I worked so hard on it, and most of the features won't work with the basic 4images instalation. But if I ever get some free time I will create a new template for 4images.

My site is http://www.myleeneklass.com

Carl

8
Mods & Plugins (Releases & Support) / Mini MOD: User GIS
« on: June 19, 2003, 04:36:29 AM »
I have updated my original post with the changes v@no suggested. I then done a fresh install of 4images, installed the original mod made by brandkanne. I then installed my mod, as it is now and everything seems to work fine. Check through your code and make sure everything matches my post.

9
Mods & Plugins (Releases & Support) / Mini MOD: User GIS
« on: June 19, 2003, 03:59:10 AM »
Quote from: spoiledRHOtten
okay...where should I add it?


user_sex = '$user_gender

10
Quote from: bgmurphy
great mod !!   :lol:  ... now if i can get my phpMyadmin link working!
Like v@no said above, change the 'PHPMYADMIN LINK' to the link of your phpmyadmin.
Quote
question - i see in your screen shot that you have site logs and page logs ..
This is a seprate script and is in no way intergrated or part of 4images. it's actually a perl script which I'm looking to replace with a php script. That log script Chris has shown looks very good. I may use that.
Quote
also have you down any coding to track downloads ? ..
Not yet.

Carl

11
Mods & Plugins (Releases & Support) / Mini MOD: User GIS
« on: June 18, 2003, 03:06:26 PM »
Yep got it now lol, I'm just not thinking straight today. Thats two simple mistakes I've made, maybe I should goto bed.  :lol:

12
Mods & Plugins (Releases & Support) / Mini MOD: User GIS
« on: June 18, 2003, 02:32:54 PM »
haha I know, I just noticed and was about to delete the post, but it said 'you can't delete a post that has been replied to'

Thanks v@no

13
Mods & Plugins (Releases & Support) / Mini MOD: User GIS
« on: June 18, 2003, 02:24:18 PM »
It may have something to do with other code I'm using within my new profile.php file. The code could be conflicting with the user age display and the user zodiacs I have added. Just so you know, its the User Sexuality I'm working with (at the bottom)

Code: [Select]
if ($action == "editprofile") {

if ($user_info['user_level'] == GUEST) {
    show_error_page($lang['no_permission_updateprofile']);
    exit;
  }

// User Gender Switch
$gender_array = array("", "Male", "Female");
$user_gender = $gender_array[$user_info['user_gender']]."";

// User Age Display
$this_year=create_date('Y', time(), $board_config['board_timezone']);
$this_date = create_date('md', time(), $board_config['board_timezone']);

if ( $user_info['user_birthday'] != 999999 )
{
$poster_birthdate=realdate('md', $user_info['user_birthday']);
$n=0;
while ($n<26)
{
if ($poster_birthdate>=$zodiacdates[$n] & $poster_birthdate<=$zodiacdates[$n+1])
{
$zodiac = $lang[$zodiacs[($n/2)]];
$u_zodiac = $images[$zodiacs[($n/2)]];
$zodiac_img = '<img src="'.$u_zodiac.'" alt="'.$zodiac.'" title="'.$zodiac.'" border="0"/>';
$n=26;
} else
{
$n=$n+2;
}
}
$poster_age = $this_year - realdate ('Y',$user_info['user_birthday']);
   if ($this_date < $poster_birthdate) $poster_age--;
   $poster_age = '' . $poster_age .'';
} else
{
$poster_age = '';
}

// User Star Sign Display
if ($user_info['user_birthday']!=999999)
{
$poster_birthdate=realdate('md', $user_info['user_birthday']);
$i=0;
while ($i<26)
{
if ($poster_birthdate>=$zodiacdates[$n] & $poster_birthdate<=$zodiacdates[$i+1])
{
$zodiac = $lang[$zodiacs[($i/2)]];
$u_zodiac = $images[$zodiacs[($i/2)]];
$zodiac_img = $lang['Zodiac'].': <img src="'.$u_zodiac.'" alt="'.$zodiac.'" title="'.$zodiac.'" border="0"/>';
$i=26;
} else
{
$i=$i+2;
}
}
}

// User Sexuality Switch
$i = 0;
$sexuality = "";
$user_sexuality_select = array("", "Straight", "Bisexual", "Open Minded", "Gay / Lesbian");
foreach ($user_gender_select as $key) {
$sexuality .= "<option value=\"".$i."\"".(($user_info['user_sexuality'] == $i) ? " selected" : "").">".$key."</option>\n";
$i++;
}

Any ideas?

14
Mods & Plugins (Releases & Support) / Mini MOD: User GIS
« on: June 18, 2003, 01:59:33 PM »
I got this error
Quote
Warning: Invalid argument supplied for foreach()

15
Mods & Plugins (Releases & Support) / Mini MOD: User GIS
« on: June 18, 2003, 11:08:20 AM »
Quote from: V@no
Code: [Select]
// User Gender Switch
$gender_array = array("Male", "Female", "None Specified");
$user_gender = $gender_array[$user_row['user_sex']]." <img src=\"".TEMPLATE_PATH."/images/gender".$user_row['user_sex'].".gif\">";

I like how you done that V@no. could we do something like that with:

Code: [Select]
  // User Gender Switch
   if($user_info['user_sex'] == 1){
   $user_gender = "<input type=\"radio\" name=\"user_gender\" value=\"1\" checked />
              male&nbsp;&nbsp;&nbsp;
              <input type=\"radio\" name=\"user_gender\" value=\"2\" />
              female</font>";
   } else if($user_info['user_sex'] == 2){
   $user_gender = "<input type=\"radio\" name=\"user_gender\" value=\"1\"/>
              male&nbsp;&nbsp;&nbsp;
              <input type=\"radio\" name=\"user_gender\" value=\"2\" checked  />
              female</font>";
   } else {
   $user_gender = "<input type=\"radio\" name=\"user_gender\" value=\"1\"/>
              male&nbsp;&nbsp;&nbsp;
              <input type=\"radio\" name=\"user_gender\" value=\"2\"/>
              female</font>";
   }

That seems like such a lot of code for such a simple task and would like it if it could be simplified like the code you done above.

Carl

Pages: [1] 2 3 4 5 6