Last X [img] on Forum v.0.0.2 Installation

Mod Support

Moderators: BNa, Sekuro, 4seven

Last X [img] on Forum v.0.0.2 Installation

Postby TheMungPie » 11 Jan 2014, 08:39

Hello, I'm having trouble installing Last X. I'm not using the "default" themes that are supported but I was hoping I could install it and mess with it enough to make it work on my forum here: http://www.audibleworlds.com.

I'm having trouble getting it to appear on my page. I'm also wondering if anything should be showing up in my ACP control panel. Maybe under the MODs tab or somewhere else. The installation seemed straightforward enough. So I'm not sure where I'm going wrong. Should I be defining the forum IDs in a certain .php file? I figured that might have been done in the ACP control panel somewhere.

Also, this hint section is a bit confusing to me. Any extra details on it would help a lot.

Code: Select all
#
#----[ IMPORTANT HINT]-------
#

Make the config of this mod in this section:

//---------SETTINGS------------------

.........

//---------SETTINGS------------------

in last_x_img_on_forum.php

#
#----[ Clear all Board- und Browser-Cache ]
#
  
#
#----[ EOM, Save and Close all Files ]
#        

Thanks a lot for the help! It looks like an awesome mod!

Here is where I downloaded the mod from: http://4seven.bplaced.net/forum/6test/viewtopic.php?t=96
TheMungPie

Tiptop

Tiptop
 
Posts: 6
Joined: 11 Jan 2014, 08:29
 
Resolution: 1920x1080


Re: Last X [img] on Forum v.0.0.2 Installation

Postby 4seven » 11 Jan 2014, 16:52

Yes, you should make the settings in the --SETTINGS-- area of includes/last_x_img_on_forum.php
at least for the forum ids ;) just enter your forum ids as in the example ids

Code: Select all
//---------SETTINGS------------------
// here u can enter the foren id's to show
$forum_idz_to_show = '9,11,13';
// enter as given: '7,9,10'      


Clear all Board- und Browser-Caches after that

I'm also wondering if anything should be showing up in my ACP control panel.

In later versions, yes, but currently not. its just the --SETTINGS-- area of the named file..

If you have other styles as the supported, just find out,
on which standard style your style is based of
and take the prosilver or subsilver2 part.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Last X [img] on Forum v.0.0.2 Installation

Postby TheMungPie » 12 Jan 2014, 07:56

Thanks for the help. Is there an easy way to just pull images from all forums instead of having to type in every ID? I guess I could just do something like this:

Code: Select all
//---------SETTINGS------------------
// here u can enter the foren id's to show
$forum_idz_to_show = '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20';
// enter as given: '7,9,10'           

I'm assuming because I have a custom theme on my forum that this is probably part of the reason it's not showing up. I was hoping to get it to appear (even if it's not placed properly) and hopefully find a way to move and size it to where I want after it's working.

Here's my forum for reference:
htttp://audibleworlds.com
TheMungPie

Tiptop

Tiptop
 
Posts: 6
Joined: 11 Jan 2014, 08:29
 
Resolution: 1920x1080


Re: Last X [img] on Forum v.0.0.2 Installation

Postby 4seven » 12 Jan 2014, 14:25

I dont find the mods-code on your index.php in source-code..

What exactly have you done?
Which file you have edit (style, path, etc.)?
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Last X [img] on Forum v.0.0.2 Installation

Postby TheMungPie » 12 Jan 2014, 20:23

Bah, my FTP client had some failed transfers. Got it working! Thanks so much for the help.

htttp://audibleworlds.com
TheMungPie

Tiptop

Tiptop
 
Posts: 6
Joined: 11 Jan 2014, 08:29
 
Resolution: 1920x1080

Re: Last X [img] on Forum v.0.0.2 Installation

Postby TheMungPie » 12 Jan 2014, 20:36

There's one image on my crawl that shows up black but when clicked through it's not. It could be the image just heavily zoomed in (theres a black gun) but I'm curious if this is how corrupted images are displayed.

Is there a way to set a default image if corruption is detected or the image has issues resizing?
TheMungPie

Tiptop

Tiptop
 
Posts: 6
Joined: 11 Jan 2014, 08:29
 
Resolution: 1920x1080


Re: Last X [img] on Forum v.0.0.2 Installation

Postby 4seven » 12 Jan 2014, 22:23

This issue is known and is mostly causing by a corrupt or false encoded image (eg. a *.png is in fact a *.jpg, etc.).
Download the beastie one, open and save with any grafic-program and load up again.
A corrupt image cant be easy detected, bcs. if the file-header is damaged or false, it cant be checked, what it is (eg. if imagetype or similar).
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Last X [img] on Forum v.0.0.2 Installation

Postby TheMungPie » 28 Jan 2014, 04:52

Been really enjoying this plug you made. I ended up disabling the crawl and had a couple of issues.

1) The first issues are the images end up creating two rows if it exceeds a certain threshold. I tried adjusting this but it didn't seem to work.
Code: Select all
//----------------------------------
// number of max pics to show 
// (important if user have no javacript enabled or $detect_java_screen  is set to 'no';)
$max_img_to_show  = 10;
// enter as given 9 or 12 etc.
//----------------------------------    

2) I'm also having issues sizing the thumbnails. What's the best way to do this? Ideally I would like to make them larger and set the total image amount to match up nicely with my site.
3) Finally - How can I remove the grey border around the row of images?

Thanks for the help and sorry if this are dead simple things. I was poking around and couldn't figure it out.

Here's the site I'm referring to: http://audibleworlds.com
TheMungPie

Tiptop

Tiptop
 
Posts: 6
Joined: 11 Jan 2014, 08:29
 
Resolution: 1920x1080


Re: Last X [img] on Forum v.0.0.2 Installation

Postby 4seven » 02 Feb 2014, 15:21

TheMungPie wrote:Been really enjoying this plug you made. I ended up disabling the crawl and had a couple of issues.

1) The first issues are the images end up creating two rows if it exceeds a certain threshold. I tried adjusting this but it didn't seem to work.
Code: Select all
//----------------------------------
// number of max pics to show 
// (important if user have no javacript enabled or $detect_java_screen  is set to 'no';)
$max_img_to_show  = 10;
// enter as given 9 or 12 etc.
//----------------------------------          

What did not work? Explain a bit more.

TheMungPie wrote:2) I'm also having issues sizing the thumbnails. What's the best way to do this? Ideally I would like to make them larger and set the total image amount to match up nicely with my site.

Just edit the config values in Config Area. Alle values should be settable.

TheMungPie wrote:3) Finally - How can I remove the grey border around the row of images?

That you can edit the template files, edited by the mod. Just look for border and remove the css.

------------------------

Note, that after each php/config change (not template change)
all thumbs have to be deleted in the named thumb folders, to see the new result and behaviour.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Last X [img] on Forum v.0.0.2 Installation

Postby TheMungPie » 03 Feb 2014, 07:31

4seven wrote:
TheMungPie wrote:Been really enjoying this plug you made. I ended up disabling the crawl and had a couple of issues.

1) The first issues are the images end up creating two rows if it exceeds a certain threshold. I tried adjusting this but it didn't seem to work.
Code: Select all
//----------------------------------
// number of max pics to show 
// (important if user have no javacript enabled or $detect_java_screen  is set to 'no';)
$max_img_to_show  = 10;
// enter as given 9 or 12 etc.
//----------------------------------             

What did not work? Explain a bit more.


If I set "$max_img_to_show = 3;" it would still show more than that. It seemed like I was editing the wrong value because it wasn't working. Any ideas? Thanks for the info on the other two. That should help.
TheMungPie

Tiptop

Tiptop
 
Posts: 6
Joined: 11 Jan 2014, 08:29
 
Resolution: 1920x1080


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron