[ABD] Link Page 0.0.5

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: [DEV] Link Page 0.0.2

Post by plasmino » Sat Dec 05, 2009 11:59 am

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

User avatar
FreakyBlue
Registered User
Posts: 331
Joined: Sun Jul 27, 2008 6:00 pm
Name: David Jansen
Contact:

Re: [DEV] Link Page 0.0.2

Post by FreakyBlue » Sat Dec 05, 2009 12:21 pm

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?
My music and tutorials -> https://youtube.com/gh0stwrit3rMusic/
Former phpBB Style and Mod Author -> https://www.phpbb.com/customise/db/auth ... tributions

plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: [DEV] Link Page 0.0.2

Post by plasmino » Sat Dec 05, 2009 12:31 pm

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

User avatar
FreakyBlue
Registered User
Posts: 331
Joined: Sun Jul 27, 2008 6:00 pm
Name: David Jansen
Contact:

Re: [DEV] Link Page 0.0.2

Post by FreakyBlue » Sat Dec 05, 2009 12:33 pm

plasmino wrote:just translate the whole place the file here
Thanks for this great mod
Thanks! I look forward to your translation :D
My music and tutorials -> https://youtube.com/gh0stwrit3rMusic/
Former phpBB Style and Mod Author -> https://www.phpbb.com/customise/db/auth ... tributions

plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: [DEV] Link Page 0.0.2

Post by plasmino » Sat Dec 05, 2009 2:34 pm

file in italian language for Link Page 0.0.2

Click for download

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

ImageImage

ImageImage

lol

User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [DEV] Link Page 0.0.2

Post by keith10456 » Sat Dec 05, 2009 4:01 pm

Great work with the Mod :lol:

User avatar
FreakyBlue
Registered User
Posts: 331
Joined: Sun Jul 27, 2008 6:00 pm
Name: David Jansen
Contact:

Re: [DEV] Link Page 0.0.2

Post by FreakyBlue » Sat Dec 05, 2009 6:09 pm

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.
My music and tutorials -> https://youtube.com/gh0stwrit3rMusic/
Former phpBB Style and Mod Author -> https://www.phpbb.com/customise/db/auth ... tributions

plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: [DEV] Link Page 0.0.2

Post by plasmino » Sat Dec 05, 2009 6:59 pm

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

User avatar
Music-cro
Registered User
Posts: 33
Joined: Fri Feb 13, 2009 7:52 am
Location: Zagreb-Hrvatska
Contact:

Re: [DEV] Link Page 0.0.2

Post by Music-cro » Sat Dec 05, 2009 7:44 pm

I solved the problem on IE working properly and not working on Mozilla.
Image is the same as here in the example

Image

User avatar
FreakyBlue
Registered User
Posts: 331
Joined: Sun Jul 27, 2008 6:00 pm
Name: David Jansen
Contact:

Re: [DEV] Link Page 0.0.2

Post by FreakyBlue » Sat Dec 05, 2009 7:58 pm

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.
My music and tutorials -> https://youtube.com/gh0stwrit3rMusic/
Former phpBB Style and Mod Author -> https://www.phpbb.com/customise/db/auth ... tributions

User avatar
Music-cro
Registered User
Posts: 33
Joined: Fri Feb 13, 2009 7:52 am
Location: Zagreb-Hrvatska
Contact:

Re: [DEV] Link Page 0.0.2

Post by Music-cro » Sun Dec 06, 2009 2:31 pm

Aaaaaaaaaaa thx thx :D does

User avatar
FreakyBlue
Registered User
Posts: 331
Joined: Sun Jul 27, 2008 6:00 pm
Name: David Jansen
Contact:

Re: [DEV] Link Page 0.0.2

Post by FreakyBlue » Sun Dec 06, 2009 8:03 pm

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.
My music and tutorials -> https://youtube.com/gh0stwrit3rMusic/
Former phpBB Style and Mod Author -> https://www.phpbb.com/customise/db/auth ... tributions

plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: [DEV] Link Page 0.0.2

Post by plasmino » Sun Dec 06, 2009 10:48 pm

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

:D

User avatar
FreakyBlue
Registered User
Posts: 331
Joined: Sun Jul 27, 2008 6:00 pm
Name: David Jansen
Contact:

Re: [DEV] Link Page 0.0.1

Post by FreakyBlue » Tue Dec 22, 2009 2:49 pm

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
My music and tutorials -> https://youtube.com/gh0stwrit3rMusic/
Former phpBB Style and Mod Author -> https://www.phpbb.com/customise/db/auth ... tributions

maryam
Registered User
Posts: 15
Joined: Tue Oct 13, 2009 5:06 am

Re: [DEV] Link Page 0.0.2

Post by maryam » Fri Dec 25, 2009 10:03 am

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

Locked

Return to “[3.0.x] Abandoned MODs”