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.


Topics - BartAfterDark

Pages: [1] 2 3
1
Discussion & Troubleshooting / Remove Terms of Registration?
« on: June 22, 2009, 06:20:57 PM »
How can I remove the terms, so users are forwarded to the register form instead of the Agree to terms ?

Open: Register.php

Find:
Code: [Select]
if ($action == "") {
  $action = "signup";
}
Replace with:
Code: [Select]
if ($action == "") {
  $action = "register";
}

2
Mods & Plugins (Releases & Support) / [MOD] Flash Tag Cloud ?
« on: June 04, 2009, 11:34:17 AM »
Anyone knows where it has gone, as I can't seem to find the topic :/

Only some Arabic, but seems like it is missing some files or something

3
I found this great tool that lets users rotate and crop pictures. I was thinking this would make a nice addition to 4images thumbnail generator. This way the uploader can select what peace of the image should be used as a thumbnail.

You can see a demo here: http://roel.meurders.nl/web_php/12cropimage-php-image-crop/#demo

The only problem is that I don't know how to integrate it with the 4images upload function.

I am willing to pay for this integration. And still let other 4images users use this script free of charge :)

4
What it is:
TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other Content Management Systems.

This small mod is mostly for people who installed the news mod.

1. Download TinyMCE 2.1.0 and TinyMCE compressor PHP from http://tinymce.moxiecode.com

2. Extract tinymce_2_1_0 and tinymce_compressor_php_1_1_0. Move the files from tinymce_compressor_php_1_1_0 to the tiny_mce folder.

3. Upload the tiny_mce to your website.

4. Backup admin/admin_functions.php

5. Open admin_functions.php and
Find:
Code: [Select]
    <script type="text/javascript" language="javascript" src="<?php echo ROOT_PATH?>admin/browserSniffer.js"></script>
    <script type="text/javascript" language="javascript" src="<?php echo ROOT_PATH?>admin/calendar.js"></script>
Add before:
Code: [Select]
<script type="text/javascript" src="../tiny_mce/tiny_mce_gzip.js"></script>
<script type="text/javascript">
tinyMCE_GZ.init({
plugins : 'inlinepopups,style,layer,table,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras',
themes : 'advanced',
languages : 'en',
disk_cache : true,
debug : false
});
</script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "inlinepopups,style,layer,table,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,|,visualchars,nonbreaking",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
});
</script>

It still needs some tweaking with the buttons and so. This version uses GZip (should load faster)
One other small problem is that Keywords/Description (under add/edit images) also some of the text area boxes are smaller then usual when TinyMCE is used.

I've posted a screenshot so you guys can see what's all about.

5
Mods & Plugins (Requests & Discussions) / more random images?
« on: December 23, 2006, 01:26:30 AM »
Hi,

Is there anyway to show more random images on any page of the site?

 - Lars

6
Hi,
Somehow I can't see a thumbnail for the images when I want to add them. It just shows up as a red cross under the image name. When I right click on one of the red crosses and check what the image url is, it shows this: http://www.domain.com/admin/checkimages.php?action=showthumb&mode=c1e_rac12_144.jpg&cat_id=17

I don't know how it happened, but I think it's after I applied all the latest bugfixes.

 Lars

7
Discussion & Troubleshooting / use image name as title on upload
« on: November 05, 2006, 09:00:42 PM »
I want 4images to use the name of the file when users are uploading to the site.

I'm sure there is a topic that explains what have to be done. But I can't find it any more :(

8
Hi,

Is ther any way to show this "No keywords for this file" if no keywords has been used?

 - Lars

9
Mods & Plugins (Requests & Discussions) / Show random images as text
« on: September 09, 2006, 03:42:44 PM »
Hi,

How can I display some random images as text links instead of a thumbnail.

example

10
Discussion & Troubleshooting / problem/bug with BBcode URL
« on: July 11, 2006, 07:57:15 PM »
Hello.

I'm having a problem with the BBcode. I'm trying to make a link like this
Code: [Select]
[url=http://nokia.com]http://www.nokia.com/6230i[/url]
But 4images does not even look at the URL= http://nokia.com it just keeps using nokia.com/6230i as the link even thoe the url should be nokia

11
Chit Chat / show diffrent link if file is gif/video etc.
« on: June 19, 2006, 04:40:55 PM »
Hello.

I'm trying to allow the users to download/buy videoes etc. and then get them to there phone. But the service I use does not use the same code for images/animations and videos. So I'm trying to build something where I can sellect diffrent code for vidoes etc.

I've added a new field to 4images_images called image_type and also added
Code: [Select]
$additional_image_fields['image_type'] = array($lang['mms_picture'], "text", 0); to db_field_definitions.php. I was thinking about doing it like this {if image_type} LINK {endif image_type}

I'm not really that good at php/mysql. So I hope someone can guide me a little bit :) (I’m going to publish it here when it is working ;))

12
Chit Chat / site got hacked.
« on: March 28, 2006, 10:43:58 PM »
My friends site got hacked. Everything is lost due to this bug
Code: [Select]
this exploit uploads a .jpg file with maliciuos EXIF metadata comptempt,
   it will be evaluated as php code:

We tried to save his pictures but it was to late :( We removed all files exept the data folder and installed 1.7.2. But someone 40 min ago a new file got into the data folder. A PHP script that has somehow to do with mysql.

I told him to pull the site down before he loses the user database :cry:

13
Chit Chat / Mods not compatible with 4images 1.7.2 *list*
« on: March 27, 2006, 07:32:01 PM »
I think we need this list so others can test if the MOD really is the problem and not just a fault from the person who integrates the mod

Hope this makes sense or would be used


Post the name of the mod a link to it and why it is not compatible with 1.7.2 (the problem)

[Mod] bbcode Smileys: http://www.4homepages.de/forum/index.php?topic=6646.0

If I don't type in a headline when I post a comment it sends me back to the page. But now the code in the comment changed to this
Code: [Select]
<img src="./templates/default/smilies/icon_surprised.gif"> instead of
Code: [Select]
:o

14
Discussion & Troubleshooting / problem when users set homepage and ICQ
« on: March 19, 2006, 01:32:29 PM »
When users haven't set a homepage the www image still shows and the link is http:///
The other problem is that the ICQ image. Somehow the url has a space in it. But when I look at the mySQL enteries I see http:// (and that should be blank) but the ICQ looks normal.

Look at the images.

What could be doing this?

15
Hey.
How can I remove the no-click function, so users can click on the image.
It's becuase I use [MOD] Information if Guest follows direct link to an image. And it's easier for a user to login and view the image (if it is a random image) Instead of having to login from index.php and then they can't find the ramdom image anymore.

Hope you guys get me point. :)

Pages: [1] 2 3