[RC] Top Attachments

Modifications maintained and supported by all4phone
Forum rules
This forum is moderated by all4phone!
User avatar
all4phone
BBCoder IV
BBCoder IV
Posts: 150
Joined: 11 Feb 2011, 13:50
BBCodes: 28
Favourite BBCode: Random text signature
Favourite MOD: BBCode Strikethrough MOD
Location: Poland
Contact:

[DEV] Top Attachments

Post by all4phone »

Nice update because of
all4phone wrote:new:
- added ACP control attachments extension
or
martin123456 wrote:This part breaks W3C
? ;)
----------------------------------------------

Anyway, thanks for reporting, thanks to you MOD gets better :)
New valid code will be added to the new version.
passed.PNG
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

[DEV] Top Attachments

Post by martin123456 »

Mainly just the copy right section to me it looks valid when going through the file but W3C say no http://validator.w3.org/check?uri=http% ... 2Fservices
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

[DEV] Top Attachments

Post by martin123456 »

I'm using it like this it seems better ;) but hey your mod

Includes/functions.php

Code: Select all

// Top Attachments -------------------------------
		//'TOPA_UINF'		=> $user->lang('TOPA_UINF_MOD', $topa_version . ' &copy; <a href="http://www.phpbbmods.cba.pl/">phpBBMods</a>'),
		'TOPA_UINF'		=> $user->lang(' &copy; <a href="http://www.phpbbmods.cba.pl/" onclick="window.open(this.href); return false;">phpBBMods</a>'),
// Top Attachments -------------------------------
And attachments body

Code: Select all

<dt class="topa_head_1">{NUMBER_OF_ATTACH}&nbsp;{L_TOPA_MOST} &nbsp; {TOPA_UINF}</dt>
copy.gif
User avatar
all4phone
BBCoder IV
BBCoder IV
Posts: 150
Joined: 11 Feb 2011, 13:50
BBCodes: 28
Favourite BBCode: Random text signature
Favourite MOD: BBCode Strikethrough MOD
Location: Poland
Contact:

[DEV] Top Attachments

Post by all4phone »

Mainly just the copy right section to me it looks valid when going through the file but W3C say no http://validator.w3.org/check?uri=http% ... 2Fservices
W3C validator say no, becouse of mine crap host provider, I'm using free hosting. Or board was disabled temporarily when I update the mod.
martin123456 wrote:I'm using it like this it seems better
Nice :)

Sorry, I don't like copyright section in the header bar (forabg bar), therefore I made it in the bottom hover bar.
Besides, I placed there also important credit :) .

Anyhow big thanks Martin, I removed the problematic div's from attachments.html file and fix css file. Seems to be ok now.

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

Forst post updated to v 0.1.4

new:
- fixed template and theme files
- new features planned (for details see first post please)
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

[DEV] Top Attachments

Post by martin123456 »

Works perfect ty oh and go hover over mine lol
User avatar
all4phone
BBCoder IV
BBCoder IV
Posts: 150
Joined: 11 Feb 2011, 13:50
BBCodes: 28
Favourite BBCode: Random text signature
Favourite MOD: BBCode Strikethrough MOD
Location: Poland
Contact:

[DEV] Top Attachments

Post by all4phone »

First post updated to v 0.1.5

new:
- added ACP control various types of attachments extension


new download
new screenshots

Note: to install v 0.1.5 you should uninstall older version, no update available !
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

[DEV] Top Attachments

Post by martin123456 »

With debug on your get this

[phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_topa.php on line 47: Undefined index: topa_index_enable

when you try to enable to mod with debug off it's all good.

EDIT loaded a fresh install of phpbb so nice clean files and get an error on submit

video of error
http://www.blades-place.dyndns.info/15.wmv
User avatar
all4phone
BBCoder IV
BBCoder IV
Posts: 150
Joined: 11 Feb 2011, 13:50
BBCodes: 28
Favourite BBCode: Random text signature
Favourite MOD: BBCode Strikethrough MOD
Location: Poland
Contact:

[DEV] Top Attachments

Post by all4phone »

Yes Martin, my bad.
Sorry, I forgot add one new config entry to install_topa.php file.
Thank you very much for your help ;)

Quick Fix:
to get rid of the bug should be added new row (in the config table) named: topa_index_enable with value 1 or 0.

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

First post updated to v 0.1.6

- install file bug fixed

new download
User avatar
all4phone
BBCoder IV
BBCoder IV
Posts: 150
Joined: 11 Feb 2011, 13:50
BBCodes: 28
Favourite BBCode: Random text signature
Favourite MOD: BBCode Strikethrough MOD
Location: Poland
Contact:

[DEV] Top Attachments

Post by all4phone »

First post updated to v 0.2.0

new:
- Top Attachments displays table in each forums (almost complete control ACP)


new download
new screenshots
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

[DEV] Top Attachments

Post by martin123456 »

12.png
Afew en langs missing also version number maybe ?
Locked