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 - derfred

Pages: [1]
Feedback & Suggestions / Re: Support for PHP 7?
« on: November 04, 2016, 11:34:26 AM »
ok, thanks!

Feedback & Suggestions / Re: Support for PHP 7?
« on: November 03, 2016, 08:05:37 PM »

Does anyone have a good zip archive of the beta release? The one in the previous page is broken...

Feedback & Suggestions / Re: Support for PHP 7?
« on: October 26, 2016, 02:44:13 PM »

But not just this archive, Ive downloaded the edit images file, the one from Vano I think and it was also damaged and this happened with several other zip files I downloaded recently.

Isnt the server zipping or gzipping again the zip files it sends to clients? I found it strange so many files in the same situation.

Feedback & Suggestions / Re: Support for PHP 7?
« on: October 26, 2016, 01:31:58 AM »

Im writing just to let you know that all zip files downloaded from the forum are corrupt.

Ive found this:

Happened Mac on Safari, Chrome and Firefox...

Requests for paid modifications / Jobbörse / Re: remote media folder
« on: April 17, 2008, 10:14:18 PM »

Ive replied by PM.

Thanks :)

Requests for paid modifications / Jobbörse / Re: remote media folder
« on: April 04, 2008, 05:44:13 PM »
Hi Nicky,

My problem is that I have thousands of files already in the server and I don want to upload them again...

Cant I change the way the script works so it gets the media from a different server?

Or some bit of code telling the script to in case of files from this and that directory, get them from this or that place...

I will pay for someone to do this for me.


Requests for paid modifications / Jobbörse / Re: remote media folder
« on: March 29, 2008, 11:00:32 PM »
While looking for a solution for this problem Ive seen that someone mentions the use of SQL to do this or that this can be done using mysql...

How could I do this?

Thanks in advance.


Requests for paid modifications / Jobbörse / remote media folder
« on: March 26, 2008, 03:08:45 PM »

I need to change my gallerys data folder to another server. Ive tried to edit includes/constants.php but the script keeps adding the base url to the address I put in the includes/constants.php file.

While browsing this forum for an answer I could find several people saying that the best way is to use the remote url feature but I have more than 10GB of files in my gallery so that out of question.

So, Ill need some experienced programmer to do this trick for me, Ill pay via paypal, just need to know how much could a job like this cost.


Mods & Plugins (Requests & Discussions) / Order categories by popularity
« on: December 19, 2007, 10:17:32 PM »
I guess this one doesnt exists yet...

The idea is to order categories by popularity, this can be measured by the number of hits in that category or by the number of downloaded files in the category, then order them horizontally instead of vertically

1  2  3  4
5  6  7  8

and not:

1  3  5  7
2  4  6  8

This would be very interesting for the users, I guess, it would work more less like a category top.



Ive just found a way to do it using iframes:

put this in the header.html of your template:

Code: [Select]
<script type="text/javascript">

* IFrame SSI script II- Dynamic Drive DHTML code library (
* Visit for hundreds of original DHTML scripts
* This notice must stay intact for legal use

//Input the IDs of the IFRAMES you wish to dynamically resize to match its content height:
//Separate each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none:
var iframeids=["myframe"]

//Should script hide iframe from browsers that don't support this script (non IE5+/NS6+ browsers. Recommended):
var iframehide="yes"

var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers

function resizeCaller() {
var dyniframe=new Array()
for (i=0; i<iframeids.length; i++){
if (document.getElementById)
//reveal iframe for lower end browsers? (see var above):
if ((document.all || document.getElementById) && iframehide=="no"){
var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i])"block"

function resizeIframe(frameid){
var currentfr=document.getElementById(frameid)
if (currentfr && !window.opera){"block"
if (currentfr.contentDocument && currentfr.contentDocument.body.offsetHeight) //ns6 syntax
currentfr.height = currentfr.contentDocument.body.offsetHeight+FFextraHeight;
else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
currentfr.height = currentfr.Document.body.scrollHeight;
if (currentfr.addEventListener)
currentfr.addEventListener("load", readjustIframe, false)
else if (currentfr.attachEvent){
currentfr.detachEvent("onload", readjustIframe) // Bug fix line
currentfr.attachEvent("onload", readjustIframe)

function readjustIframe(loadevt) {
var crossevt=(window.event)? event : loadevt
var iframeroot=(crossevt.currentTarget)? crossevt.currentTarget : crossevt.srcElement
if (iframeroot)

function loadintoIframe(iframeid, url){
if (document.getElementById)

if (window.addEventListener)
window.addEventListener("load", resizeCaller, false)
else if (window.attachEvent)
window.attachEvent("onload", resizeCaller)


Put this in home.html, categories.htm or any other page where you want your forum or any other content to appear:

Code: [Select]
<iframe id="myframe" src="externalpage.htm" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe>
edit externalpage.htm to point to your content

the only problem is that the urls in tha address bar dont change according to the forum contents, of course but I guess this can be solved with the .htaccess just dont know how!



This is the site:    right now Im using an iframe with auto resizing, if the content is taller than the frame size the scroll bars appear, this solution is here:   but iI dont like the scroll bars...

Ive also tried the "Include" solution, it works on the first page:

Its much cleaner but unlike the iframe when a forum link is clicked it goes to /forum/...

Ive also tried the SMF SSI function here:   This works but has the same ptoblem of the php include function so...

What code should I use to keep the  layout and the forum "browsable" without going to /forum at the same time?


Mods & Plugins (Requests & Discussions) / Let guests "tag" (add keywords)
« on: December 14, 2007, 10:01:29 PM »

After searching the forum I couldnt find the answer, so Im posting, hope this is the right place...

I have this site:

and I need to add keywords to the files, my idea is to let guests and users do this, the best would be to include a field in the thumbnail_bit so the user could do it right in the categories page like if he was rating the file (I put the rate drop down in the thumbnail_bit)

Other way would be to include a field in the details page.

How can I do this?

Thanks in advance,



Ive found this one but it requires the admin to set permissions to the users one by one. By looking at this mod I thought that may not be necessary to be a registered member to add keywords/tag the files so Ive reformulated the problem.

This is the other mod:

just a question, I dont know much about mysql so this may be a stupid question.. Ill ask anyway... can I have two 4images installs sharing the same tables?

I would install 4images on another domain and then overwrite the config.php and global.php with files from the other installation so the database tables from the oder installation would be used.  How would users, files and categories be managed?



Hello Nicky,

Thanks for your reply :)

when you mentioned template folder I had a click in my head.

Ive replaced the {header} tag in the member.html for the actual original html metatags without the dynamic urls tags it worked! tough, while the problem could be solved this way I guess the cause had something to do with some php file I damaged at some point...

Thanks for your help!

Happy new year,



Pages: [1]