Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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
 



 
RamboMannSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Fab Bbcode 
 
which is here loosely can me none help or which, one must beg you
 



 
RamboMannSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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 ]  
 



 
RamboMannSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
pepiSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Fab Bbcode 
 
Or for a non-Icy (phpBB2) installation it would be


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

 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
RamboMannSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
RamboMannSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
pepiSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Fab Bbcode 
 
sorry I let translate my english with http://babelfish.altavista.com.

I solved my problem, thank I cordially.
 



 
RamboMannSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron