A way to display images posted with [img] bbcodes ?

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Anti-Spam Guide
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

but dont forget the instruction 4 updating before ;)
http://4seven.kilu.de/forum/phpbb3/view ... &f=8#p1094
Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

Well I kept your modified files, edited viewforum.php and html but nothing shows this time. I get crazy :lol: :lol: :lol: :lol:
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

have u filled out the right id's?

Code: Select all

$forum_ids_to_show = '7,9,10';
and what is in index?

note
you did'nt see anything as guest, if u have no rights to read this forum :idea:
Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

Yes, I put one ID but nothing.. But no major bug and forum acess OK this time...
Bah, it doesn't matter, I keep the index ;)
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

i think i know your problem:

remove in all template-edits (but not in overall_header.html)

this if s_ switch with endif
(at the begin and end of the template-edit in index or viewforum)

Code: Select all

<!-- IF S_NO_ATT_TO_SHOW -->
mod-template-code
mod-template-code
mod-template-code
<!-- ENDIF -->
clear all caches
Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

I kept this part for viewforum :

Code: Select all

<!-- IF S_NO_JAVA_DETECTION --><!-- IF S_NO_JAVA_PRESENT --><br />Standard Script - Calculated on your Screen Resolution of {SCREEN_WIDTH}x{SCREEN_HEIGHT}<!-- ELSE --><br />You have Javascript disabled - Activate it to let the pics fit to your screen<!-- ENDIF --><!-- ENDIF -->
<hr style="height:1px; border-color:white;" />
<div class="marquee" id="mycrawler">
<!-- BEGIN forum_pics -->
<a href="{forum_pics.TOPIC_IDEE}"><img style="border:1px solid white;" src="{forum_pics.ATTACH_TEST}" title="Topic: {forum_pics.TOPIC_TIITLEE}" alt="" /></a>&nbsp;
<!-- END forum_pics -->
</div>
<hr style="height:1px; border-color:white;" />
<span class="corners-bottom"><span></span></span></div>
</div>


<script type="text/javascript">
marqueeInit({
	uniqueid: 'mycrawler',
	style: {
		'padding': '0px',
		'width': '99%',
		'margin': '0 auto'
	},
	inc: 4, //speed - pixel increment for each iteration of this marquee's movement
	mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
	moveatleast: 2,
	neutral: 600, // neutral region in the middle in px
	savedirection: false
});
</script>
But with no changes...
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

I kept this part for viewforum :
++++++++
But with no changes...
curious

should i take look via ftp?

and in index it's ok?
Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

My index is OK with your modifications on my ftp...
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

My index is OK with your modifications
that means, the new version runs there without problems and without code-extracting or tricking?

ok, if u need it on viewforum call me. than i take a look.
tonight several people test the new version on live boards and all seems to be allright.
i think it's a little script-overload on your board. otherwise i can't explain..
Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

I have not uploaded or changed any files since you were on my ftp ;)
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

now i understand :lol:
sorry, was confusing, think u test the new version :idea:
Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

No, I must update the mod ?
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

inconclusively, but the new version fix the behavior of your board in a "clean way"

http://www.phpbb.com/community/viewtopi ... #p11710615
Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

This is OK with your new files for index... I try viewforum tonight :D
I learn English with phpbb.com :)
Locked

Return to “[3.0.x] MOD Requests”