FAP SUPPORT - Fab Bbcode


Subject: FAP SUPPORT - Fab Bbcode
The pictures are indicated [ albumimg]pic id[/albumimg ], only as thumbnail, with click in such a way the user on album are led, I would like however in the contribution to have increased. Like I know so changes with upload kind of of bbcodes add [img]URL pic[/img ]

Thanks

Profile PM  
Subject: Re: Fab Bbcode
which is here loosely can me none help or which, one must beg you :evil:

Profile PM  
Subject: Re: Fab Bbcode
RamboMann, please wait, MG reviews all new posts in threat when connects.

If you dont recive help is because no users know the way to do what you want.

Profile PM  
Subject: Re: Fab Bbcode
perhaps I would like that the pictures in the contribution am fully indicated, can me thereby someone help. the code can be made also with. [ albumimg]pic id[/albumimg ] :?:

Profile PM  
Subject: Re: Fab Bbcode
RamboMann wrote: [View Post]
perhaps I would like that the pictures in the contribution am fully indicated, can me thereby someone help. the code can be made also with. [ albumimg]pic id[/albumimg ] :?:

Hi

here
Code: [Download] [Hide] [Select]
[albumimg mode=full]Pic ID[/albumimg]

Pepi

Subject: Re: Fab Bbcode
Or for a non-Icy (phpBB2) installation it would be


Code: [Download] [Hide] [Select]
[fullalbumimg]Pic ID[/fullalbumimg]

Profile PM  
Subject: Re: Fab Bbcode
as first the best thanks
I inserted this small Addon.

Code: [Download] [Hide] [Select]
#
#-----[ OPEN ]-----
#
templates/subSilver/bbcode.tpl


#
#-----[ FIND ]-----
#
<!-- BEGIN img --><img src="{URL}" border="0" /><!-- END img -->


#
#-----[ REPLACE WITH ]-----
#
<!-- BEGIN img --><img src="{URL}" onLoad="scaleImage(this)" border="0" /><!-- END img -->


#
#-----[ OPEN ]-----
#
templates/subsilver/overall_header.tpl


#
#-----[ FIND ]-----
#
</head>


#
#-----[ BEFORE, ADD ]-----
#
<script type="text/javascript">
<!--
var maxImageWidth = 400;
function unscaleImage()
{
if(maxImageWidth > 0)
this.width = this.width == maxImageWidth ? this.orgwidth : maxImageWidth;
}


function scaleImage(im)
{
if (maxImageWidth > 0 && im.width > maxImageWidth)
{
im.orgwidth = im.width;
im.width = maxImageWidth;
im.onclick = unscaleImage;
im.title = "Click for fullsize view";
im.style.cursor = 'pointer';
}
}


//-->
</script>


<script language="JavaScript" type="text/javascript">unscaleImage();</script>




#
#-----[ SAVE/CLOSE ALL FILES ]-----
#
# EoM


Increased thus the pictures with click.if I this code
Code: [Download] [Hide] [Select]
[fullalbumimg]Pic ID[/fullalbumimg]
do not use functioned that unfortunately

but whom I
Code: [Download] [Hide] [Select]
[ img]URL pic[/img ]
use the pictures am increased

it must be nevertheless possible the pictures with this code [ img]URL pic[/img ] to insert.

Profile PM  
Subject: Re: Fab Bbcode
One must always enter manuel this [ fullalbumimg]Pic ID[/fullalbumimg ] instruction.

With upload that is possible that to insert automatically [ albumimg]pic id[/albumimg ] is [ fullalbumimg]Pic ID[/fullalbumimg ] to add

Profile PM  
Subject: Re: Fab Bbcode
I don't quite understand what you are asking.

There was some discussion about a bbcode button in the forum posting for albumimg, but I don't know it anything was ever created.
Discussion was here

http://www.icyphoenix.com/viewtopic.php?f=24&t=2461


If you want the bbcode [albumimg] that appears in the album below the pic to read [fullalbumimg] you can find in album_showpage.php

Code: [Download] [Hide] [Select]
'PIC_BBCODE' => '[albumimg]' . $pic_id . '[/albumimg]',


and change as you like

Profile PM  
Subject: Re: Fab Bbcode
RamboMann wrote: [View Post]


but whom I
Code: [Download] [Hide] [Select]
[ img]URL pic[/img ]
use the pictures am increased

it must be nevertheless possible the pictures with this code [ img]URL pic[/img ] to insert.

Hi
i know what you meen but this doesn't works not with the album mod only with [img]
but you can try

Code: [Download] [Hide] [Select]
find in templates/subSilver/bbcode.tpl
<!-- BEGIN fullalbumimg --><a href="album_showpage.php?pic_id={IMG_NUM}" target="_blank" class="postlink"><img src="album_picm.php?pic_id={IMG_NUM}" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" border="0" /></a><!-- END fullalbumimg -->

Replace with
<!-- BEGIN fullalbumimg --><a href="album_showpage.php?pic_id={IMG_NUM}" target="_self" class="postlink"><img src="album_picm.php?pic_id={IMG_NUM}" onLoad="scaleImage(this)" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" border="0" /></a><!-- END fullalbumimg -->

Pepi

Subject: Re: Fab Bbcode
sorry I let translate my english with http://babelfish.altavista.com.

I solved my problem, thank I cordially.

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1479s (PHP: 13% SQL: 87%)
SQL queries: 10 - Debug Off - GZIP Enabled