[MODDB] HighSlide Attachment MOD

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
sleevedbiker
Registered User
Posts: 789
Joined: Mon Oct 12, 2009 4:33 pm

Re: [RC] HighSlide Attachment MOD

Post by sleevedbiker »

Started a new forum and it doesnt work. but it works on my other forum...
Uploaded highslide, added code, changed yes to thumbnail and nothing.

http://theghostbusters3.com/forum

Login: guest
Password: guest1234
You ride with an outlaw, You die with an outlaw
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] HighSlide Attachment MOD

Post by Stoker 4.0 »

What are your thumbnail settings?
You do realize that the mod only works on attachments uploaded AFTER the thumbnail settings are set?
sleevedbiker
Registered User
Posts: 789
Joined: Mon Oct 12, 2009 4:33 pm

Re: [RC] HighSlide Attachment MOD

Post by sleevedbiker »

Stoker 4.0 wrote:What are your thumbnail settings?
You do realize that the mod only works on attachments uploaded AFTER the thumbnail settings are set?
there was a conflict with something else. i figured it out...
You ride with an outlaw, You die with an outlaw
jaylam13
Registered User
Posts: 194
Joined: Wed Sep 29, 2010 5:58 pm
Contact:

Re: [RC] HighSlide Attachment MOD

Post by jaylam13 »

Hi,

Does this only work on attachment images or images within the img bbcode tag?

Jay
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] HighSlide Attachment MOD

Post by Stoker 4.0 »

They work with attachments only.
But you can make them work with the img bbcode too. But I recommend making a highslide bbcode instead.
Read the faq here: http://www.phpbb3bbcodes.com/viewtopic.php?f=32&t=1177
jaylam13
Registered User
Posts: 194
Joined: Wed Sep 29, 2010 5:58 pm
Contact:

Re: [RC] HighSlide Attachment MOD

Post by jaylam13 »

Stoker 4.0 wrote:They work with attachments only.
But you can make them work with the img bbcode too. But I recommend making a highslide bbcode instead.
Read the faq here: http://www.phpbb3bbcodes.com/viewtopic.php?f=32&t=1177
Worked perfectly, thanks.

Next question, how can I remove the IMG tag from the post screen so everyone has to use the HSIMG?
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] HighSlide Attachment MOD

Post by Stoker 4.0 »

Which style are you using?

In prosilver or prosilver based it would be:

Open styles/prosilver/template/posting_buttons.html
Find and delete:

Code: Select all

<!-- IF S_BBCODE_IMG -->
		<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" />
	<!-- ENDIF -->
jaylam13
Registered User
Posts: 194
Joined: Wed Sep 29, 2010 5:58 pm
Contact:

Re: [RC] HighSlide Attachment MOD

Post by jaylam13 »

Stoker 4.0 wrote:Which style are you using?

In prosilver or prosilver based it would be:

Open styles/prosilver/template/posting_buttons.html
Find and delete:

Code: Select all

<!-- IF S_BBCODE_IMG -->
		<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" />
	<!-- ENDIF -->
Excellent, thanks a lot, appreciate it.

Excellent mod :)

Jay
jonasj
Registered User
Posts: 117
Joined: Tue Jan 06, 2009 8:06 pm
Location: Stockholm, Sweden
Contact:

Re: [RC] HighSlide Attachment MOD

Post by jonasj »

short question ;)

Is it possible to change that image will get the comment below, instead of showing how many viewed times and file name.

Regards Jonas
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] HighSlide Attachment MOD

Post by Stoker 4.0 »

Sure. Open prosilver/template/attachment.html
Find and delete:

Code: Select all

<!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF -->
Find:

Code: Select all

{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}
Replace with:

Code: Select all

{_file.COMMENT}
Save file, upload file and refresh template in ACP
jonasj
Registered User
Posts: 117
Joined: Tue Jan 06, 2009 8:06 pm
Location: Stockholm, Sweden
Contact:

Re: [RC] HighSlide Attachment MOD

Post by jonasj »

thanks ;)
anto66
Registered User
Posts: 2
Joined: Mon Aug 22, 2011 9:20 pm

Re: [RC] HighSlide Attachment MOD

Post by anto66 »

ho to install to Prosilver_SE ??? plz
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] HighSlide Attachment MOD

Post by Stoker 4.0 »

Same as prosilver.
anto66
Registered User
Posts: 2
Joined: Mon Aug 22, 2011 9:20 pm

Re: [RC] HighSlide Attachment MOD

Post by anto66 »

but template it's different
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] HighSlide Attachment MOD

Post by Stoker 4.0 »

Yes, you have no attachment.html in the porsilver_se style. Dont worry about that. It uses the code from the prosilver file.
So you just have to do the overall_header.html edit and that is the same in both styles.
Locked

Return to “[3.0.x] MODs in Development”