4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: mYrAn on October 28, 2006, 08:13:57 PM
-
Iam trying to make a tutorial site with anoter system with no luck. So i tought of 4images. Is it possible to do so you post text instead of images? it has it all else, categorys etc. . It would bee very nice!
-
post text instead of images?
huh?
4images should be an images gallery..
but text..... :roll:
what kind of text should that be?
make tutorials as pdf and upload them 8)
-
I mean just simple html. Instead of posting pictures i want the users to be able to post a link to a tutorial or wright a tutorial were u usually upload images :)
-
then take a links script for that ;)
-
I dont think u really understand ;) ill try to explane better.
I want the 4images base code. Were the users upload their images, they submit tutorials instead. Insted of random image, Random tutorial. Instead of Newest images, Newest tutorial. I think you understand now :)
-
i give up :oops:
-
If you want to do that, I guess you could use one of the other fields to provide the tutorial link. i.e.: Description or Keywords.... or you could create your own.
Then, you just need to modify a little your templates, so they do not show images, but the links instead...
If you take the time to investigate how 4images works, you can tune it up to fit your needs perfectly.
In my case I am using some of the images to hold videos (embedded videos from google / youtube)... and they show up in the details page instead of the image.
I just added an extra field to the database, modified the templates and details.php so that every time the detailed page is displayed it checks to see if the embedded field is empty or not. If it is not, put the embedded code instead of the image, and the video shows up.
(This is the easy way to explain it, you must know some .php and sql to put it in practice. hehehe)
Here is an example:
Image shows up -> http://anime.igc-web.com/gallery/details.php?image_id=1575
Video shows up -> http://anime.igc-web.com/gallery/details.php?image_id=2472
The code is the same, but depending of the fields, it shows one thing or another.
Since your request will only be useful for you, I guess that you will have to figure out a way to do it yourself. I don't think anybody is going to work out a complete solution for just you... unless they want to create a similar site for themselves.
IGC
-
i also want that done. 4images is a pretty good script. i want to use it for a tutorial type of thing as well. I want the images to be replaced by text. Use it as an article script as oppose to an image script. There shouldn't be much change to the code, and I'm pretty sure for some of the skilled members this would be a piece of cake.
-
... text instead of images ... it is possible ... :wink:
... you can use txt- or html-files (... or also pdf-files ...) for your text ...
1. add txt or html as new file extensions in the ACP settings valid file extensions ...
2. add the new $mime_type_match['txt'] or $mime_type_match['html'] in your includes/upload_definitions.php ...
3. create and add new media-templates (txt.html or html.html) in your templates/<your template>/media/ folder ...
3. create and add new media-icons (txt.gif or html.gif) in your templates/<your_template>/icons/ folder ...
... and now you can upload text-files (txt or html) to your gallery ...
... and if there are more questions ... try this here (http://www.4homepages.de/forum/index.php?action=search;advanced) or here (http://www.4homepages.de/forum/index.php?topic=7277.0)...
examples :
-> txt-file (http://klick.kl.funpic.de/details.php?image_id=2818)
-> html-file (http://klick.kl.funpic.de/details.php?image_id=3774)
-
which mod is this http://anime.igc-web.com/gallery/details.php?image_id=1575 <<< where it showing u have to download the image for the full dimension and it shows the image in what ever the dimension i guess he setted for all images can someone please lemme know which mod is this this is so cool
-
which mod is this http://anime.igc-web.com/gallery/details.php?image_id=1575 <<< where it showing u have to download the image for the full dimension and it shows the image in what ever the dimension i guess he setted for all images can someone please lemme know which mod is this this is so cool
Hi,
i think, you meen this: phpthumb
with this script you can set the size in the details smaller
search about this in this forum...
cu
Kurt
-
I dont think u really understand ;) ill try to explane better.
I want the 4images base code. Were the users upload their images, they submit tutorials instead. Insted of random image, Random tutorial. Instead of Newest images, Newest tutorial. I think you understand now :)
Hi mYrAn ,
yes, it is possible :wink:
but actually no mod for this.
Look to my button-generator. You can put with this script a text in a image.
Different color, text size, shadow ...
I think, only one problem:
You must give the script a image for create.
-When you give a big image with a small tutorial :roll:
-When you give a small image with a big tutorial :roll:
cu
Kurt
-
which mod is this http://anime.igc-web.com/gallery/details.php?image_id=1575 <<< where it showing u have to download the image for the full dimension and it shows the image in what ever the dimension i guess he setted for all images can someone please lemme know which mod is this this is so cool
__G__ it is not a published mod, I don't know if phpthumb will work the same way. But the one in my site is a little modification that I made. It works much like the BIG folder does. What I've done is created a little admin plugin that scans all the images, if it finds an image larger than 350px in any dimension, it will ask me if I want to create a "reduced" file for it. The reduced file is stored in a /reduced folder inside the media/categoryXXX/ folder where the actual image resides. (if a reduced file already exists, the reduce plugin doesn't ask me if I want to recreate it, it is like the auto-thumbnailer)
Once I have all the reduced images, when I call details.php, I check if the reduced image exists. If it does, the reduced image is shown, and the actual image is linked by the download button. If the reduced image does not exists, the actual image is shown and the download image points to that one too.
I looked everywhere for a way to do this but didn't find it, so that's why I did it myself... I thought of using "big" but it seems like you need to create the reduced image yourself and then add the big image to the big folder... and if you move / delete the image, the big image stays there.... so I created this one to suit my needs. hehehe.
If you want I could go back and see if I can figure out what I changed exactly... but it wouldn't be before Christmas... (too busyyy right now, to look at all the files and write a proper mod with step by step instructions)
-
Thanks igc if u can do that that be great but one question i do have google and youtube video mod installed i dont think so that be a problem but just askin if it will work wid that but i think you should post the mod here its great mod good job..
-
Thanks igc if u can do that that be great but one question i do have google and youtube video mod installed i dont think so that be a problem but just askin if it will work wid that but i think you should post the mod here its great mod good job..
I don't know how the youtube / google video mod you have installed works, but I actually have made my own mod to allow videos to be added to my gallery
http://anime.igc-web.com/gallery/details.php?image_id=3256
And it does not interfere with the reduced image mod at all... I guess the mod you installed will work the same way, that if you have embedded content, it is shown, if not the image is shown... if that is the case, there should be no problem... since the reduced image mod changes the way the image is pulled up from the server, so it is only called if you are actually displaying an image, if not, nothing happens.
IGC
-
wow this is too good can u release this mod bro ?
-
wow this is too good can u release this mod bro ?
During Christmas I'll try to post all the mods I've done... some of them I may need to modify so they can be published, but I'll try to publish all of them.
IGC
-
Hey,
its a great option!
Just a little question:
How can I include long URL's like: http://www.zigiz.com/games/game.php?gamestart=monkeymind&lang=de&user=3901&pi=971
Its an Game-Napping URL, which I want to include on the details.html as an normal for e.g. .swf file.
Thanks a lot!
-
christmas is gone bro are u gonna release the mod ?
-
christmas is gone bro are u gonna release the mod ?
Okay, your right!
Believe me, if I could - I would! :lol: 8)
But I have no idea!
Thanks!