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
16
Mods & Plugins (Releases & Support) / Mini MOD: User GIS
« on: June 17, 2003, 09:18:52 AM »
Post updated on: 19 June 2003, 03:21am
Quote from: spoiledRHOtten
Hi!

Okay...my question is this...if we set the user to default as "male" is there a way for them to change it?

There is but it's going to require a few changes to the original mod.

First open: includes/db_field_definitions.php

Find:
Code: [Select]
$additional_user_fields['user_sex'] = array($lang['user_sex'], "radio", 1);
Change to:
Code: [Select]
$additional_user_fields['user_sex'] = array($lang['user_sex'], "text", 0);

Open: member.php

Find:
Code: [Select]
   else {
      $user_icq_button = REPLACE_EMPTY;
    }

Below add:
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\">";

Rename images to gender0.gif = male gender1.gif = female and gender3.gif = blank (nothing)

Find:
Code: [Select]
     "lang_email" => $lang['email'],
      "lang_homepage" => $lang['homepage'],
      "lang_icq" => $lang['icq']

Change to:
Code: [Select]
     "lang_email" => $lang['email'],
      "lang_homepage" => $lang['homepage'],
      "lang_icq" => $lang['icq'],
 "user_gender" => $user_gender,

Find:
Code: [Select]
   $sql = "UPDATE ".USERS_TABLE."
            SET ".get_user_table_field("", "user_email")." = '$user_email', ".get_user_table_field("", "user_showemail")." = $user_showemail, ".get_user_table_field("", "user_allowemails")." = $user_allowemails, ".get_user_table_field("", "user_invisible")." = $user_invisible, ".get_user_table_field("", "user_homepage")." = '$user_homepage', ".get_user_table_field("", "user_icq")." = '$user_icq'

Change to:
Code: [Select]
   $sql = "UPDATE ".USERS_TABLE."
            SET ".get_user_table_field("", "user_email")." = '$user_email', ".get_user_table_field("", "user_showemail")." = $user_showemail, ".get_user_table_field("", "user_allowemails")." = $user_allowemails, ".get_user_table_field("", "user_invisible")." = $user_invisible, ".get_user_table_field("", "user_homepage")." = '$user_homepage', ".get_user_table_field("", "user_icq")." = '$user_icq', user_sex = '$user_gender'

Find:
Code: [Select]
 if ($config['account_activation'] == 2 && $user_info['user_level'] != ADMIN) {
    $edit_profile_msg .= $lang['edit_profile_email_msg_admin'];
  }

Below add:
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>";
}

Find:
Code: [Select]
   "lang_edit_profile_msg" => $edit_profile_msg,
    "lang_yes" => $lang['yes'],
    "lang_no" => $lang['no']

Replace with:
Code: [Select]
   "lang_edit_profile_msg" => $edit_profile_msg,
    "lang_yes" => $lang['yes'],
    "lang_no" => $lang['no'],
"user_gender" => $user_gender,

Open: templates/default/member_editprofile.html

Find:
Code: [Select]
         <tr>
            <td class="row1"><b>{lang_invisible}</b></td>
            <td class="row1"> <input type="radio" name="user_invisible" value="1"{user_invisible_yes} />
              {lang_yes}&nbsp;&nbsp;&nbsp; <input type="radio" name="user_invisible" value="0"{user_invisible_no} />
              {lang_no} </td>
          </tr>

Below add:
Code: [Select]
         <tr>
            <td class="row2"><b>Gender</b></td>
            <td class="row2">{user_gender}</td>
          </tr>

Open: templates/default/member_profile

Find:
Code: [Select]
<img src="templates/default/images/{user_sex}.gif">
Remove it.

Find:
Code: [Select]
       <tr>
          <td class="row2"><b>{lang_icq}</b></td>
          <td class="row2">{if user_icq}<a href="http://wwp.icq.com/scripts/search.dll?to={user_icq}">{user_icq}</a>
            (<b>{user_icq_status}</b>){endif user_icq}</td>
        </tr>

Below add:
Code: [Select]
       <tr>
          <td class="row1"><b>Gender</b></td>
          <td class="row1">{user_gender}</td>
        </tr>


Thats about it I think, Save and close the files. I have tested on a fresh install of 4images and it works great.

Please inform me of any problems.

Carl

17
Great idea, I was going to make a preview image but time got a hold of me as usual. Here is a preview of the little changes my mod makes.


18
Ok Made a mod for the Admin CP which I spend most of my days trying to figure out what I can add to make my life that little bit easier.

I thought it would be a nice idea to have the date and time displayed. Also by moving a few links around seemed to make things more accessible.
--------------------
Open admin/index.php
Remember to back up this file before you edit it

Find:
Code: [Select]
<b><a href="<?php echo $site_sess->url(ROOT_PATH); ?>" target="_blank"><?php echo $lang['goto_homepage']; ?></a>&nbsp;&nbsp;</b>And delete it.

Now find:
Code: [Select]
<b><a href=<?php echo $site_sess->url("home.php?action=home"); ?> target=main>Control Panel Home</a></b>And delete it.

Next find:
Code: [Select]
Version: <b><?php echo SCRIPT_VERSION?></b>Replace with:
Code: [Select]
<?php echo date("l d F, Y");
echo <<<END
<span id=tick2>
</span>

<script>
<!--

/*By JavaScript Kit
http://javascriptkit.com
Credit MUST stay intact for use
*/

function show2(){
if (!document.all&&!document.getElementById)
return
thelement=document.getElementById? document.getElementById("tick2"): document.all.tick2
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="pm"
if (hours<12)
dn="am"
if (hours>12)
hours=hours-12
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
var ctime=hours+":"+minutes+""+dn
thelement.innerHTML="&nbsp;"+ctime+""
setTimeout("show2()",1000)
}
window.onload=show2
//-->
</script>
END;

?>
Please be sure that there is no spaces after END; and echo <<<END

Find:
Code: [Select]
show_nav_header($lang['nav_categories_main']);
show_nav_option($lang['nav_categories_edit'], "categories.php?action=modifycats");
show_nav_option($lang['nav_categories_add'], "categories.php?action=addcat");
Add above:
Code: [Select]
$root_path = $site_sess->url(ROOT_PATH);
show_nav_header($lang['nav_navigation_main']);
show_nav_option($lang['nav_navigation_admin_index'], "home.php?action=home");
show_nav_option($lang['nav_navigation_site_home'], "$root_path");
show_nav_option($lang['nav_navigation_phpmyadmin'], "PHPMYADMIN LINK");
Where it says PHPMYADMIN LINK enter the exact location to your phpMyAdmin manager.
--------------------
Open lang/<your language>/admin.php

Find:
Code: [Select]
$lang['nav_categories_main'] = "Categories";Add above:
Code: [Select]
$lang['nav_navigation_main'] = "Navigation";
$lang['nav_navigation_admin_index'] = "Admin index";
$lang['nav_navigation_site_home'] = "Site home";
$lang['nav_navigation_phpmyadmin'] = "phpMyAdmin";
--------------------

That's it. Save and close files.
Log in to your admin CP to see the changes.
Feedback about this mod would be well appreciated thanks.

Carl

19
Quote from: V@no
Quote from: Gawd
I can't find that bit of code.... Searched the entire site.
the closest I could find to that is the following.

ops...yes, u are right...that's how 4images comes by default...I have changed all sizeof operators in all files, because they are alias for count: http://www.php.net/manual/en/function.sizeof.php and might be deleted or renamed to something else in next versions of PHP.

Does this mean that we should change all the
Code: [Select]
$total = sizeof($visible_cat_cache);
in functions.php to

Code: [Select]
$total = count($visible_cat_cache);

20
Mods & Plugins (Requests & Discussions) / Shoutbox ?
« on: June 13, 2003, 06:35:17 AM »
My shoutbox uses mostly javascript and <DIV>

You can look at my source code if that will help. The contents of my shoutbox.php and shout.php are as above. Tell me which parts of the formatting you are having trouble with.

Carl

21
Mods & Plugins (Requests & Discussions) / Shoutbox ?
« on: June 13, 2003, 01:49:40 AM »
I am currently doing a rewrite which includes an administration feature that lets you manage shouts. Also I am compiling the code into one php file and one template file.

Here is the code I have so far. It works great.

----- Create MYSQL table -----
Code: [Select]
CREATE TABLE shoutbox (
  id int(11) NOT NULL auto_increment,
  name text NOT NULL,
  message text NOT NULL,
  timestamp int(11) NOT NULL default '0',
  ip varchar(15) NOT NULL default '0',
  browser varchar(255) NOT NULL default '',
  block int(50) NOT NULL default '0',
  KEY msg_id (id)
) TYPE=MyISAM;

----- shout.php ----- place in the 4images root
Code: [Select]
<?
define('ROOT_PATH', './');
include(ROOT_PATH.'global.php');
require(ROOT_PATH.'includes/sessions.php');
$user_access = get_permission();
include(ROOT_PATH.'includes/page_header.php');$action = $_GET["action"];
 
if ($action == "shout") {
 
if ($message == !"" && $user_info['user_level'] >= USER){
$ip = $REMOTE_ADDR;
$info = $HTTP_USER_AGENT;
$goto = $HTTP_REFERER;
$add_date=time (void);
$message = stripslashes($message);
$message = htmlspecialchars($message);
$user_name = $user_info['user_name'];
$result=MYSQL_QUERY("INSERT INTO shoutbox (id,name,message,timestamp,ip,browser,block)".
"VALUES ('NULL', '$user_name', '$message', '$add_date', '$ip', '$info', '$block')");  
echo "<META http-equiv='refresh' content='0;URL=http://www.yourdomain/shout.php'>";
}
else {
echo "<META http-equiv='refresh' content='0;URL=http://www.yourdomain/shout.php'>";
}
}
?>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Shout Box</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/templates/default/style.css" type=text/css>
</head>
<body>
            <table width="159" border="0" cellspacing="0" cellpadding="0">
              <tbody>
                <tr>
                  <td width="5"></td>
                  <td width="135">
<?php 
include&#40;"shoutbox.php"&#41;; 
?>

                  </td>
                  <td></td>
                </tr>
              </tbody>
            </table>
          </body>
</html>

----- shoutbox.php ----- place this file anywhere you like and call it up in shout.php using the 'include' function.
Code: [Select]
<?PHP
 
 $result = mysql_query("SELECT * FROM `shoutbox` WHERE block <> 1 ORDER BY 'id' DESC LIMIT 20") or died("Query Error");
 while($row = mysql_fetch_array($result))
{    
    $id = $row["id"];
    $timestamp = strftime("%d %b - %H:%M", $row["timestamp"]);
    $name = $row["name"];
    $message = $row["message"];
 $ip = $row["ip"];
 $browser = $row["browser"];
 
$badwords[] = array('shit', '****');
$badwords[] = array('tra-la-la', '****');
foreach ($badwords as $badword) {
     $message = eregi_replace($badword[0],$badword[1],$message);
  }

$message = str_replace(":)","<img src=\"/images/smile.gif\" align=\"texttop\">",$message);
$message = str_replace(":D","<img src=\"/images/teeth.gif\" align=\"texttop\">",$message);
$message = str_replace(":o)","<img src=\"/images/clown.gif\" align=\"texttop\">",$message);
$message = str_replace(":0)","<img src=\"/images/clown.gif\" align=\"texttop\">",$message);
$message = str_replace(":O)","<img src=\"/images/clown.gif\" align=\"texttop\">",$message);
$message = str_replace(":-/","<img src=\"/images/hmm.gif\" align=\"texttop\">",$message);
$message = str_replace(":(","<img src=\"/images/frown.gif\" align=\"texttop\">",$message);
$message = str_replace(":p","<img src=\"/images/tounge.gif\" align=\"texttop\">",$message);
$message = str_replace(":P","<img src=\"/images/tounge.gif\" align=\"texttop\">",$message);
$name = strtolower($name);
 
echo("<span style=\"cursor:default\"><table align=\"center\" width=\"135\" bgcolor=\"EEEEEE\" border=\"0\" cellpadding=\"1\" cellspacing=\"0\">
<tr><td>
<table width=\"135\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#FFFFFF\" title=\"Posted: $timestamp, IP Logged\">
  <tr>
  <td width=\"135\" bgcolor=\"#EEEEEE\"><font class=\"name\"> $name</font></td>
  </tr>
  <tr>
    <td><font class=\"message\">$message</font></td>
  </tr>
</table></td></tr></table></span><img src=\"/images/spacer.gif\" width=\"1\" height=\"4\" border=\"0\">");
}  
 
?>

The WHERE block <> 1 in the above MYSQL query is there to give you a bit more control over what messages are viewed. for example if you want to hide a bad or offensive message from public view but dont want it deleted, then place a '1' in the 'block' cell of the MYSQL table for that post. I added this feature because I don't like deleting the messages from MYSQL. I like to keep all the bad messages so I can track trouble makers. You can disable this feature by removing the WHERE block <> 1. Finally the code you need for your templates

----- place this code where you want the shoutbox displayed -----
Code: [Select]
<iframe src="shout.php" name="shoutbox" scrolling="no" width="159" height="235" frameborder="0" onload="document.shout.reset()"></iframe>
                  {if user_loggedin}
                  <SCRIPT language=JavaScript type=text/javascript>
<!--
function emoticon(text) {
 text = ''+text+' ';
 if (document.shout.message.createTextRange && document.shout.message.caretPos) {
  var caretPos = document.shout.message.caretPos;
  caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
  document.shout.message.focus();
 } else {
 document.shout.message.value  += text;
 document.shout.message.focus();
 }
}
//-->
</SCRIPT> <form method="post" name="shout" action="shout.php?action=shout" target="shoutbox">
                    <table align="center" cellspacing="0" cellpadding="0" width="147" border="0">
                      <tr>
                        <td colspan="2" align="center"><input type="text" name="message" maxlength="200">
                          <input type='hidden' name='block' value=''></td>
                      </tr>
                      <tr>
                        <td width="84" align="center" valign="top">
<img src="/images/smile.gif" onmouseover="this.style.cursor='hand';" onclick="emoticon(':)');" alt="// laughing&#13;&#10;click to add" width="12" height="12" hspace="1" border="0"><img src="/images/teeth.gif" onmouseover="this.style.cursor='hand';" onclick="emoticon(':D');" alt="// cheezy grin&#13;&#10;click to add" width="12" height="12" hspace="1" border="0"><img src="/images/clown.gif" onmouseover="this.style.cursor='hand';" onclick="emoticon(':o)');" alt="// clowning around&#13;&#10;click to add" width="12" height="12" hspace="1" border="0"><img src="/images/hmm.gif" onmouseover="this.style.cursor='hand';" onclick="emoticon(':-/');" alt="// upset and crying&#13;&#10;click to add" width="12" height="12" hspace="1" border="0"><img src="/images/frown.gif" onmouseover="this.style.cursor='hand';" onclick="emoticon(':(');" alt="// frowning&#13;&#10;click to add" width="12" height="12" hspace="1" border="0"><img src="/images/tounge.gif" onmouseover="this.style.cursor='hand';" onclick="emoticon(':P');" alt="// sticking your tongue out&#13;&#10;click to add" width="12" height="12" hspace="1" border="0">
                        </td>
                        <td width="63"><input type="submit" value="Shout"></td>
                      </tr>
                    </table>
                  </form>
                  {endif user_loggedin} {if user_loggedout}
                  <table align="center" cellspacing="0" cellpadding="0" width="147" border="0">
                    <tr>
                      <td align="center">Please login or register to post in the shoutbox.</td>
                    </tr>
                  </table>
                  {endif user_loggedout}


And thats it, it needs bit of modification to work on another site as it was built for myself. But the basics of the code is there. If you need any pointers please do ask.

Good luck. I will post my new version when I build it.

Carl

22
Ok I have found a way display the bottom 10 images without having to create another php document.

Be sure to back up the files before editing them.

--------------------
Open: lang/<your language>/main.php

Find:
Code: [Select]
//-----------------------------------------------------
//--- Top Images --------------------------------------
//-----------------------------------------------------
$lang['top_image_hits'] = "Top 10 images by hits";
$lang['top_image_downloads'] = "Top 10 images by downloads";
$lang['top_image_rating'] = "Top 10 images by rating";
$lang['top_image_votes'] = "Top 10 images by votes";

Add below:
Code: [Select]
//-----------------------------------------------------
//--- Bottom Images -----------------------------------
//-----------------------------------------------------
$lang['bottom_image_hits'] = "Bottom 10 images by hits";
$lang['bottom_image_downloads'] = "Bottom 10 images by downloads";
$lang['bottom_image_rating'] = "Bottom 10 images by rating";
$lang['bottom_image_votes'] = "Bottom 10 images by votes";

Find:
Code: [Select]
$lang['top_images'] = "Top images";
Add below:
Code: [Select]
$lang['bottom_images'] = "Bottom images";
--------------------
Open: includes/page_header.php

Find:
Code: [Select]
"url_top_images" => $site_sess->url(ROOT_PATH."top.php"),
Add below:
Code: [Select]
"url_bottom_images" => $site_sess->url(ROOT_PATH."top.php?view=bottom"),
Find:
Code: [Select]
"lang_top_images" => $lang['top_images'],
Add below:
Code: [Select]
"lang_bottom_images" => $lang['bottom_images'],
--------------------
Open: top.php

Find:
Code: [Select]
include(ROOT_PATH.'includes/page_header.php');
Add below:
Code: [Select]
$action = $_GET["view"];
if ($action == "bottom") {
$order = "ASC";
} else {
$order = "DESC";
}

Find:
Code: [Select]
ORDER BY i.image_rating DESC,
Replace with:
Code: [Select]
ORDER BY i.image_rating $order,
Find:
Code: [Select]
ORDER BY i.image_votes DESC,
Replace with:
Code: [Select]
ORDER BY i.image_votes $order,
Find:
Code: [Select]
ORDER BY i.image_hits DESC,
Replace with:
Code: [Select]
ORDER BY i.image_hits $order,
Find:
Code: [Select]
ORDER BY i.image_downloads DESC,
Replace with:
Code: [Select]
ORDER BY i.image_downloads $order,
Find:
Code: [Select]
$clickstream .= $lang['top_images']."</span>";
Replace with:
Code: [Select]
if ($action == "bottom") {
$clickstream .= $lang['bottom_images']."</span>";
} else {
$clickstream .= $lang['top_images']."</span>";
}

Find:
Code: [Select]
$site_template->register_vars(array(
  "msg" => $msg,
  "clickstream" => $clickstream,
  "lang_top_image_hits" => $lang['top_image_hits'],
  "lang_top_image_downloads" => $lang['top_image_downloads'],
  "lang_top_image_rating" => $lang['top_image_rating'],
  "lang_top_image_votes" => $lang['top_image_votes']
));

Replace with:
Code: [Select]
if ($action == "bottom") {
$site_template->register_vars(array(
  "msg" => $msg,
  "clickstream" => $clickstream,
  "lang_top_bottom_title" => $lang['bottom_images'],
  "lang_image_hits" => $lang['bottom_image_hits'],
  "lang_image_downloads" => $lang['bottom_image_downloads'],
  "lang_image_rating" => $lang['bottom_image_rating'],
  "lang_image_votes" => $lang['bottom_image_votes']
));
} else {
$site_template->register_vars(array(
  "msg" => $msg,
  "clickstream" => $clickstream,
  "lang_top_bottom_title" => $lang['top_images'],
  "lang_image_hits" => $lang['top_image_hits'],
  "lang_image_downloads" => $lang['top_image_downloads'],
  "lang_image_rating" => $lang['top_image_rating'],
  "lang_image_votes" => $lang['top_image_votes']
));
}

--------------------
Open: templates/<your template>/top.html

Find:
Code: [Select]
<a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;
Add after:
Code: [Select]
<a href="{url_bottom_images}"><b>{lang_bottom_images}</b></a>&nbsp;
Find:
Code: [Select]
<span class="title">{lang_top_images}</span>
Replace with:
Code: [Select]
<span class="title">{lang_top_bottom_title}</span>
Find:
Code: [Select]
{lang_top_image_rating}
Replace with:
Code: [Select]
{lang_image_rating}
Find:
Code: [Select]
{lang_top_image_votes}
Replace with:
Code: [Select]
{lang_image_votes}
Find:
Code: [Select]
{lang_top_image_hits}
Replace with:
Code: [Select]
{lang_image_hits}
Find:
Code: [Select]
{lang_top_image_downloads}
Replace with:
Code: [Select]
{lang_image_downloads}
--------------------
All done, save and close files.

Any problems or bugs you experience, please let me know.

Carl

23
Plugins / [Plugin] Notepad in Control Panel
« on: June 08, 2003, 06:53:32 AM »
A simple notepad for your admin control panel. Use it to write yourself reminders or maybe the names of users who you are keeping an eye on. Notes are stored on your MYSQL database so they are always to hand.

--------------------------------------------------------------------
Installation:

- Run MYSQL query
Quote
CREATE TABLE admin_notes (
  notes text NOT NULL,
  width char(3) NOT NULL default '',
  height char(3) NOT NULL default '',
  FULLTEXT KEY notes (notes)
) TYPE=MyISAM;

INSERT INTO admin_notes VALUES ('Your notes', '100', '10');
- Create a new directory called plugins in your admin folder
- Extract the zip and copy the file notepad.php to the new plugins directory
- Log in to your Control Panel, a new link should appear in the left navigation frame
- Click it to view your notepad

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

I hope everyone finds this mod useful.

Carl

24
Plugins / Re: sort by date
« on: June 07, 2003, 07:42:34 PM »
Quote from: Sheep707
:lol: Just al little question: is it possible to sort the postcarts by date and time?  The newest at top!

  Thanks...

Find in postcard_view.php:
Code: [Select]
ORDER BY postcard_id DESC
Change to:
Code: [Select]
ORDER BY postcard_date DESC
Carl

25
Installation, Update & Configuration / *.ram files
« on: June 05, 2003, 12:30:57 PM »
Does anyone know how I can use 4images to work with *.ram files?

I can't store the original *.rm files on my server because I don't have the bandwidth to stream them correctly. So by me creating a *.ram file which connects to my other high speed server seems to be the only way I can offer media on my site.

Any help on this would be greatly appreciated.

Carl

26
Plugins / [Plugin] Postcard Viewer
« on: May 21, 2003, 02:31:45 AM »
I can see what you mean. You can always place a message on the postcards page stating to visitors that their postcards may be viewed by the administrator.

I wrote this mod more for security of my visitors. With about 97% of my visitors being under the age of 17, it's important that I keep my eyes open for anything that may seem odd. When there's children involved it's my job as an administrator to make sure they are kept safe on my site and that they don't see anything that is unfit.

But naturally if this wasn't the case and I ran a site which involved more mature visitors I personally wouldn't bother logging messages, because it's a full time job and I'm basically not really interested in what people have to say in their private conversations.

27
Plugins / [Plugin] Postcard Viewer
« on: May 20, 2003, 02:07:18 PM »
Make sure there is no spaces after the echo <<<END and END;

28
Plugins / [Plugin] Postcard Viewer
« on: May 20, 2003, 07:42:03 AM »
I have updated the file now, thanks guys.

29
Mods & Plugins (Requests & Discussions) / Shoutbox ?
« on: May 20, 2003, 06:39:25 AM »
I have a shoutbox on my site which I made. It works well with 4images. Only registered users of the gallery may post. If you also have the phpbb Intergration mod it has a direct link to the users profile and also uses the date format which registered users of the forum have chosen, to display the date and times of posts.

You can see it here: http://www.myleeneklass.com

I can post the code here if people want it. It's a little messy but I'm sure I can clean it up.

30
Plugins / [Plugin] Postcard Viewer
« on: May 20, 2003, 06:19:13 AM »
Ok, finally got it right after an hour of neck ache lol. I don't know what I done but I changed a few things and it worked. Obviously there's improvements that can be made to the mod but I'll leave that to the people who know how. I've just set up the basics and it does its job.

--------------------------------------------------------------------
Installation:

- Create a new directory called plugins in your admin folder
- Extract the zip and copy the file postcard_view.php to the new plugins directory
- Log in to your Control Panel, a new link should appear in the left navigation frame
- Click it to view your postcards

Download postcard_view.zip
--------------------------------------------------------------------

I hope everyone finds this mod useful.

Carl

[EDITED by V@no]
The attached file below is a fixed version that works on servers with register_globals turned off.

Pages: 1 [2] 3 4 5 6