Page 4 of 8

Re: [DEV] Link Page 0.0.2

Posted: Sat Dec 05, 2009 11:59 am
by plasmino
I installed the mod right now, the version 0.0.2 but when I enter the panel link page out the error.

edit

ok I think I've solved, I removed the tables in the database. Then they entered the ACP - mods-link pages has update the database by adding a table phpbb_config then I launched the query to create the table of links .. is perfect

Re: [DEV] Link Page 0.0.2

Posted: Sat Dec 05, 2009 12:21 pm
by FreakyBlue
I was trying to reproduce the error, but I couldn't.
Glad to hear you solved it yourself and that the cause of the error isn't related to the MOD package itself :D

True, the linkpage version setting is automatically inserted in the database config_table when you first visit the linkpage ACP module. The other linkpage tables need to be inserted by hand.

Could you - by the way - give me an Italian translation of the MOD if you make one?

Re: [DEV] Link Page 0.0.2

Posted: Sat Dec 05, 2009 12:31 pm
by plasmino
yes the query must be launched later :D

Now the mod works great

just translate the whole place the file here

Thanks for this great mod

Re: [DEV] Link Page 0.0.2

Posted: Sat Dec 05, 2009 12:33 pm
by FreakyBlue
plasmino wrote:just translate the whole place the file here
Thanks for this great mod
Thanks! I look forward to your translation :D

Re: [DEV] Link Page 0.0.2

Posted: Sat Dec 05, 2009 2:34 pm
by plasmino
file in italian language for Link Page 0.0.2

Click for download

ps: I have insert automatic thumbail from Bitpixel ^_^

ImageImage

ImageImage

lol

Re: [DEV] Link Page 0.0.2

Posted: Sat Dec 05, 2009 4:01 pm
by keith10456
Great work with the Mod :lol:

Re: [DEV] Link Page 0.0.2

Posted: Sat Dec 05, 2009 6:09 pm
by FreakyBlue
plasmino wrote:file in italian language for Link Page 0.0.2
Thanks! It will be included in the next release package, ofcourse with your name in it ;)

At this moment I'm adding an option to reorder the linkcategories in the ACP. That means you can easily change the order that categories are shown at the linkpage. The same I will do for the links at the linkpage.
I'm thinking of releasing a new test package after this is done.

Re: [DEV] Link Page 0.0.2

Posted: Sat Dec 05, 2009 6:59 pm
by plasmino
reorder the linkcategories in the ACP

wow is very good idea

...my name is not necessary ^_^

another nice thing click count for the links, so that you know which are most popular

Re: [DEV] Link Page 0.0.2

Posted: Sat Dec 05, 2009 7:44 pm
by Music-cro
I solved the problem on IE working properly and not working on Mozilla.
Image is the same as here in the example

Image

Re: [DEV] Link Page 0.0.2

Posted: Sat Dec 05, 2009 7:58 pm
by FreakyBlue
I guess it has got something to do with the style you are using. It works on the basic prosilver and subsilver styles.

There is a slide difference in the code you have in comparison with the subsilver2 code.
Your code:

Code: Select all

<div class="bc">
	<table class="bcbg" width="100%" cellspacing="1" cellpadding="0" style="margin-top: 5px;">
	<tr>
		<td class="row1">
			<p class="breadcrumbs"><a href="./index.php">Pońćetna</a> &#187; <a href="./linkpage.php">Link Page</a></p>

			<p class="datetime">Vremenska zona: UTC </p>
		</td>
	</tr>
	</table>
</div>
Subsilver2 code

Code: Select all

<table class="tablebg" width="100%" cellspacing="1" cellpadding="0" style="margin-top: 5px;">
	<tr>
		<td class="row1">

			<p class="breadcrumbs"><a href="./index.php?style=3">Board index</a> &#187; <a href="./linkpage.php?style=3">Link Page</a></p>
			<p class="datetime">All times are UTC </p>
		</td>
	</tr>
	</table>
Notice the extra <div class="bc"> in your code? Maybe that's messing it up.

Re: [DEV] Link Page 0.0.2

Posted: Sun Dec 06, 2009 2:31 pm
by Music-cro
Aaaaaaaaaaa thx thx :D does

Re: [DEV] Link Page 0.0.2

Posted: Sun Dec 06, 2009 8:03 pm
by FreakyBlue
Music-cro wrote:Aaaaaaaaaaa thx thx :D does
:D

The reorder option is done. This means you can determine the exact order of which categories and links are shown. I've kept it simple and basic. You only have to fill in a number which handles the position of the category or link on the page. Like:
- 0: first shown
- 1: second
- 2: third
- and so on
Works fine :)

Next development step: adding a click counter.
When this is done, a new package will be released for testing.

Re: [DEV] Link Page 0.0.2

Posted: Sun Dec 06, 2009 10:48 pm
by plasmino
FreakyBlue wrote: Next development step: adding a click counter.
When this is done, a new package will be released for testing.

:D

Re: [DEV] Link Page 0.0.1

Posted: Tue Dec 22, 2009 2:49 pm
by FreakyBlue
darkonia wrote:a nice little feature, only a feature will be a little screenshot of the page in the category list.

you can make this over http://www.thumbshots.org or another webscreen maker.

:D
I'm not gonna integrate this as a standard feature for this MOD, but here is a little tut how to do this. It's quiet simple ;)

Open linkpage.php

Find

Code: Select all

'URL_IMAGE_SRC'				=> ($row['url_image']) ? $phpbb_root_path . $row['url_image'] : '',
Replace with

Code: Select all

'URL_IMAGE_SRC'				=> $row['url_image'],
Open styles/your style/template/linkpage_body_view.html
Find

Code: Select all

<img src="{url_link.URL_IMAGE_SRC}" width="96" height="96" alt="" />
Replace with

Code: Select all

<img src="{url_link.URL_IMAGE_SRC}" border="1" />
Open includes/acp/acp_linkpage.php
Find

Code: Select all

$url_image					= request_var('image', '');
Replace with

Code: Select all

$url_image					= utf8_normalize_nfc(request_var('image', '', true));
Find

Code: Select all

'URL_IMAGE_SRC'		=> ($url['url_image']) ? $phpbb_root_path . $url['url_image'] : '',
Replace with

Code: Select all

'URL_IMAGE_SRC'		=> (isset($url['url_image'])) ? $url['url_image'] : '',
After you have made these edits, purge the cache.
Now when you want to show the thumbshots you only need to put the url from the thumbshots in the link image section:
Category image:
Location, relative to the phpBB root directory, of an additional image to associate with this category.
Like:

Code: Select all

http://open.thumbshots.org/image.aspx?url=[LINK]
This also works with bitpixels :mrgreen:

Have fun with it :D

Re: [DEV] Link Page 0.0.2

Posted: Fri Dec 25, 2009 10:03 am
by maryam
Hi,
i've tried to run this mod but after finishing all steps nothing happened to my board.
there was'nt any error or so but i don't know what the problem is :(
plz help me