Code: Select all
/templates/AdInfinitum/images/top_image.jpg
Code: Select all
/templates/AdInfinitum/images/imagename.(extension)
Code: Select all
##############################################################
## MOD Title: Simple Image Upload
## MOD Author: Sium < [email protected] > (N/A) http://www.postimage.org
## MOD Description:
## This mod integrates image hosting with phpBB
## It makes image upload very simple. All images are
## hosted on remote image hosting service, not on
## your forum. When user uploads image, script
## creates a thumbnail for image and appends bbcode
## to post user is typing. User doesn't need to
## know anything about bbcode. And this mod is very
## simple to install.
## MOD Version: 1.0.5
##
## Installation Level: Easy
## Installation Time: ~1 Minutes
## Files To Edit: ./includes/template.php
## Included Files: addform.html
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## Author Notes:
## If you run into any problems or have any questions feel free to email me at [email protected].
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ COPY ]------------------------------------------
#
copy addform.html to ./addform.html
#
#-----[ OPEN ]---------------------------------------------
#
./includes/template.php
#
#-----[ FIND ]---------------------------------------------
# around line 265
$str = implode("", @file($filename));
if (empty($str))
{
die("Template->loadfile(): File $filename for handle $handle is empty");
}
#
#-----[ AFTER, ADD ]---------------------------------------------
#
if(basename($filename) === 'posting_body.tpl')
{
$str = str_replace('</textarea>', '</textarea><br /> • <span class="genmed"><a href="javascript:void(0);" onclick="window.open(\'http://www.postimage.org/index.php?mode=phpbb&lang=italian&forumurl=\' + escape(document.location.href), \'_imagehost\', \'resizable=yes,width=500,height=400\');return false;">Add image to post</a></span>', $str);
}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Code: Select all
*<!-- BEGIN CODE NetAffiliation : http://www.netaffiliation.com/ -->
<iframe src="http://action.metaffiliation.com/emplacement.php?emp=21129I0a7f084f6e56e5e9" width="468" height="60" scrolling="no" frameborder="0"></iframe>
<!-- END CODE NetAffiliation -->*
They set their background color to white and set a image in the upper right.Nielas wrote:Hi Mike, just a few questions:
1.) How can I set a background-image like the white one here: http://www.forum.zeitfuerplanb.de with the grey 'B'?
Code: Select all
body {
height: 100%;
background-color: #232323;
text-align: center;
padding: 0;
margin: 0}
Code: Select all
body {
height: 100%;
background-color: #ffffff;
background-image: url(images/your-image.gif);
background-repeat: no-repeat;
background-position: top left;
text-align: center;
padding: 0;
margin: 0}
Code: Select all
background-image: url(images/your-image.gif);
The AI2 template will be added to the phpBB styles database soon.Nielas wrote:2.) Where can I get the AI2-Theme from http://hqtheme.com/mikelothar/styles.html?
Sorry, there is no support for wordpress styles here. But I'll make an exception; just this one time.Nielas wrote:Thanks, that did work with the background!
Another question, maybe you know this, too:
I use Wordpress with Adinfinitum, too, and of course I want to put the same background-color for wordpress. But I can't find the part for the setting of the background on the left and right side, only the background behind the boxes.
This is my Website: http://www.thelaststance.de.vu. I want another background-color than #232323 on the very left and right side.
Code: Select all
#sidebar {width: 100%; background-color: #2b2b2b;}
You may need to disable the image resize/popup feature.chupa-chups wrote:Hi, all...
I use Ad Infinitum style I downloded from http://www.mikelothar.com. Its version is 2.0.20.c
I have this problem. I use PostImage.Org simple mod to upload images.
This is the the code as I modified.On an other forum with another style, PostImage works fine. But on this style version I can see the thumbnail, I click on it and the thumbnail itself is opened at the center of the screen.Code: Select all
Snip ~
It's something in flash which only says Close...
How I can get it out?
Code: Select all
<!-- BEGIN img -->
<img src="{URL}" border="0" onclick="if(this.width == 550) { window.open('{URL}', '_blank' ,'scrollbars=1,toolbar=no,resizable=1,menubar=no,directories=no,status=yes'); return false; }" alt="" style="cursor: hand" />
<!-- END img -->
Code: Select all
<!-- BEGIN img --><img src="{URL}" alt="" border="0" /><!-- END img -->