Area51 @ 4seven.de

Mod Base and Testarea
It is currently 23 Feb 2025, 15:21

All times are UTC + 1 hour




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 11 Jan 2014, 08:39 
Offline
Tiptop
Tiptop

Joined: 11 Jan 2014, 08:29
Posts: 6
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:
#
#----[ 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


Top
 Profile  
Reply with quote  
PostPosted: 11 Jan 2014, 16:52 
Offline
Tiptop
Tiptop
User avatar

Joined: 20 Jun 2012, 16:55
Posts: 318
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:
//---------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

Quote:
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


Top
 Profile  
Reply with quote  
PostPosted: 12 Jan 2014, 07:56 
Offline
Tiptop
Tiptop

Joined: 11 Jan 2014, 08:29
Posts: 6
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:
//---------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


Top
 Profile  
Reply with quote  
PostPosted: 12 Jan 2014, 14:25 
Offline
Tiptop
Tiptop
User avatar

Joined: 20 Jun 2012, 16:55
Posts: 318
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


Top
 Profile  
Reply with quote  
PostPosted: 12 Jan 2014, 20:23 
Offline
Tiptop
Tiptop

Joined: 11 Jan 2014, 08:29
Posts: 6
Bah, my FTP client had some failed transfers. Got it working! Thanks so much for the help.

htttp://audibleworlds.com


Top
 Profile  
Reply with quote  
PostPosted: 12 Jan 2014, 20:36 
Offline
Tiptop
Tiptop

Joined: 11 Jan 2014, 08:29
Posts: 6
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?


Top
 Profile  
Reply with quote  
PostPosted: 12 Jan 2014, 22:23 
Offline
Tiptop
Tiptop
User avatar

Joined: 20 Jun 2012, 16:55
Posts: 318
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


Top
 Profile  
Reply with quote  
PostPosted: 28 Jan 2014, 04:52 
Offline
Tiptop
Tiptop

Joined: 11 Jan 2014, 08:29
Posts: 6
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:
//----------------------------------
// 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


Top
 Profile  
Reply with quote  
PostPosted: 02 Feb 2014, 15:21 
Offline
Tiptop
Tiptop
User avatar

Joined: 20 Jun 2012, 16:55
Posts: 318
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:
//----------------------------------
// 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


Top
 Profile  
Reply with quote  
PostPosted: 03 Feb 2014, 07:31 
Offline
Tiptop
Tiptop

Joined: 11 Jan 2014, 08:29
Posts: 6
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:
//----------------------------------
// 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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.045s | 24 Queries | GZIP : Off ]