[ABD] dgTopic Thumbs (0.1.1)

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.
User avatar
Dangerell
Registered User
Posts: 89
Joined: Mon Oct 13, 2008 7:05 am
Location: Romania
Name: Cristi
Contact:

Re: [DEV] dgTopic Thumbs (0.1.1)

Post by Dangerell »

dkdkdkdk wrote:Dangerell: Thanks ;)

This is not working for me:

- thumbs are not showing on older threads made before implanting the mod in forum
- not running for pictures posted over IMG prefix, only "attachment" pictures.

Anyone corrected/added this functions yet??
Well that's how the mode works, attachments u had before were uploaded using other parameters.. and the one you upload after installing use different parameters that's why the old one's don't show. And yes, it working just for attachments (doesn't work for [img] tags). These are not errors which don't work in your case, this is just the way the mode was built (attachments only). :)

The only way is if someone helps you do those edits.
User avatar
jonnilaumann
Registered User
Posts: 56
Joined: Mon Nov 30, 2009 12:32 am

Re: [DEV] dgTopic Thumbs (0.1.1)

Post by jonnilaumann »

mod worked after installation. :D ...but, if you try to delete a post it shows error :shock: :(see below)
..and after the error, topic shows in forum, even though they are deleted, and if topic pressed, new errors...hmm..any help?

General Error
SQL ERROR [ mysql4 ]
Unknown column 'physical_filename' in 'field list' [1054]
SQL
SELECT topic_id, physical_filename, thumbnail, topic_thumb, filesize FROM phpbb_topics WHERE topic_id = 10
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

did i mess up during coding or is something wrong in mod????

Reinstalled, fresh phpbb, added some in functions_admin.php. everything works, but still if you delete post...errer comes..this time a litlle diffferent:

General Error
SQL ERROR [ mysql4 ]
Unknown column 'topic_thumb' in 'field list' [1054]
SQL
SELECT topic_id, forum_id, topic_approved, topic_moved_id, topic_thumb FROM phpbb_topics WHERE topic_id = 14

BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

....solved ..see next post
Last edited by jonnilaumann on Fri Dec 18, 2009 1:53 pm, edited 1 time in total.
User avatar
jonnilaumann
Registered User
Posts: 56
Joined: Mon Nov 30, 2009 12:32 am

Re: [DEV] dgTopic Thumbs (0.1.1)

Post by jonnilaumann »

did some chekin/tweakin in functions_admin.php...now EVERYthing works...and i can delete post...!!


My tweeks:
Open: styles\prosilver\template\viewforum_body.html
Find (Tip: This may be a partial find and not the whole line)
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>

Add after:
<!-- // dgTopic Thumb MOD - Added -->
<!-- IF topicrow.S_TOPIC_THUMB -->
<div style="height:auto; width:auto; top:0; position:relative; float:right;">
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle"><img src="{topicrow.TOPIC_THUMB_IMG}" alt="" /></a> </div>
<!-- ENDIF -->
<!-- // dgTopic Thumb MOD - END -->


Open: includes\functions_admin.php
..you just add: ", topic_thumb".after thumbnail..aprox line 950-960.dont replace hole line
..looks like this after(3.0.6-prosilver)
$sql = 'SELECT post_msg_id, topic_id, in_message, physical_filename, thumbnail, topic_thumb, filesize, is_orphan

line 982, only add :" , 'topic_thumb' => $row['topic_thumb']"..like this:
$physical[] = array('filename' => $row['physical_filename'], 'thumbnail' => $row['thumbnail'], 'topic_thumb' => $row['topic_thumb'], 'filesize' => $row['filesize'], 'is_orphan' => $row['is_orphan']);

Like others i couldnt find this line in "includes\functions_admin.php", but dosnt matter:
$sql = 'SELECT topic_id, physical_filename, thumbnail, filesize
There are many $sql = 'SELECT topic_id to find but just do nothing.
Last edited by jonnilaumann on Sat Jan 09, 2010 10:36 am, edited 12 times in total.
User avatar
jonnilaumann
Registered User
Posts: 56
Joined: Mon Nov 30, 2009 12:32 am

Re: [DEV] dgTopic Thumbs (0.1.1)

Post by jonnilaumann »

How about two pictures from toppic????...adding more options like:
TOPIC_THUMB_IMG_LAST
TOPIC_THUMB_IMG_SECOND

...anyone??
User avatar
jonnilaumann
Registered User
Posts: 56
Joined: Mon Nov 30, 2009 12:32 am

4seven is developing a simular MOD

Post by jonnilaumann »

Watch this forum with feautures, for DEV download mid january
http://sekuro.se.funpic.de/phpbb3/viewt ... ?f=8&t=331

Demo and testsite:
http://4seven.kilu.de/phpbb3/viewforum. ... e05433ba57
Last edited by jonnilaumann on Sat Jan 09, 2010 10:58 am, edited 1 time in total.
fantastic
Registered User
Posts: 22
Joined: Fri Jan 08, 2010 9:37 am

Re: [DEV] dgTopic Thumbs (0.1.1)

Post by fantastic »

hello friends :) MOD Download: dgTopic Thumbs v0.1.1 downland dont work , please uplad , i realy need this mod.
User avatar
Dangerell
Registered User
Posts: 89
Joined: Mon Oct 13, 2008 7:05 am
Location: Romania
Name: Cristi
Contact:

Re: [DEV] dgTopic Thumbs (0.1.1)

Post by Dangerell »

fantastic wrote:hello friends :) MOD Download: dgTopic Thumbs v0.1.1 downland dont work , please uplad , i realy need this mod.
New download link:

Code: Select all

http://www.2shared.com/file/9870030/cb2e774a/dgTopic_thumbs_v011.html
If you want to see a working demo for this mod you can check my site:

Code: Select all

http://www.TopFilmeOnline.com
All the best.
fantastic
Registered User
Posts: 22
Joined: Fri Jan 08, 2010 9:37 am

Re: [DEV] dgTopic Thumbs (0.1.1)

Post by fantastic »

Dangerell realy thanks :) good days :)
fantastic
Registered User
Posts: 22
Joined: Fri Jan 08, 2010 9:37 am

dgTopic Thumbs show index ?

Post by fantastic »

in end i finished to show on forums but i need to show in index page like as this ?
i need to show forum main index template like this
Image
User avatar
jonnilaumann
Registered User
Posts: 56
Joined: Mon Nov 30, 2009 12:32 am

Re: [DEV] dgTopic Thumbs (0.1.1)

Post by jonnilaumann »

in end i finished to show on forums but i need to show in index page like as this ?
i need to show forum main index template like this
Watch this forum with feautures, for DEV download mid january
http://4seven.kilu.de/forum/phpbb3/view ... ?f=8&t=337

Demo and testsite from author (standard script):
http://4seven.kilu.de/phpbb3/index.php

Demo and testsite from author (crawl script on viewforum):
http://4seven.kilu.de/phpbb3/viewforum.php?f=11

Demo and LIVE site (crawl script on board index):
http://www.parafun.dk/paragliding/index.php
Last edited by jonnilaumann on Tue Jan 12, 2010 12:46 am, edited 1 time in total.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] dgTopic Thumbs (0.1.1)

Post by 4_seven »

Have removed the screen-resolution-parameter from the test-links,
so the script can make the count of thumbs fit to the visitors screen-resolution ;)
Demo and testsite (standard script):
http://4seven.kilu.de/phpbb3/index.php

Demo and testsite (crawl script):
http://www.parafun.dk/paragliding/index.php
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] dgTopic Thumbs (0.1.1)

Post by 4_seven »

by the way: First Topic [attachment] on Forum Index is released
*link removed*

i hope, this is not too cheeky, bcs. dev and download seems to be off here..

regards
4seven
Last edited by DavidIQ on Fri Jan 22, 2010 2:22 pm, edited 1 time in total.
Reason: Removed link
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17329
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [DEV] dgTopic Thumbs (0.1.1)

Post by DavidIQ »

Author has not visited in a while. Therefore I am locking this and marking as abandoned.

@darkoo: if you would like to reclaim this topic please PM a member of the MOD Team.

@4_seven: That was cheeky :P (link removed)
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
Locked

Return to “[3.0.x] Abandoned MODs”