[ABD] Thanks First Post 0.0.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.
Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: [BETA] Thanks First Post 0.0.1

Post by Kharon »

thank you, idiotnesia :D

User avatar
parasolx
Registered User
Posts: 146
Joined: Wed Apr 23, 2008 8:52 am
Location: Malaysia
Name: Hadafi

Re: [BETA] Thanks First Post 0.0.1

Post by parasolx »

i have installed the mod.. every thing is ok during installation just you need to look back in the installation mod there is no indication about what files need to install.

One more is, after installed, there is no Thanks icon in the topic view. Is there any ACP need to activate?

p/s: sorry... my mistake... it works...

idiotnesia
Registered User
Posts: 509
Joined: Sun Jun 18, 2006 10:58 am
Location: www.phpbbindonesia.com
Name: Pungky Putra
Contact:

Re: [BETA] Thanks First Post 0.0.1

Post by idiotnesia »

New plugin available "Thanks All Posts", check the 1st page

User avatar
parasolx
Registered User
Posts: 146
Joined: Wed Apr 23, 2008 8:52 am
Location: Malaysia
Name: Hadafi

Re: [BETA] Thanks First Post 0.0.1

Post by parasolx »

Great plugin... but for me, if all post can be given thanks, it would make the viewtopic being crowded with the thanks... but if anybody like it, why not...

Great Job...

annepenullar
Registered User
Posts: 137
Joined: Sun Oct 21, 2007 7:01 am

Re: [BETA] Thanks First Post 0.0.1

Post by annepenullar »

Yes, I'm waiting for the option to enable Thanks mod for specific forums only.

install.xml errors:

Code: Select all

		'POSTER_POSTS'		=> $user_cache[$poster_id]['posts'],
cannot be found @ adm/style/acp_main.html.

I think it's in /viewtopic.php

turkanime
Registered User
Posts: 20
Joined: Tue Sep 25, 2007 10:54 am

Re: [BETA] Thanks First Post 0.0.1

Post by turkanime »

annepenullar wrote:Yes, I'm waiting for the option to enable Thanks mod for specific forums only.

install.xml errors:

Code: Select all

		'POSTER_POSTS'		=> $user_cache[$poster_id]['posts'],
cannot be found @ adm/style/acp_main.html.

I think it's in /viewtopic.php
yes, it would be viewtopic.php

User avatar
^[GS]^
Registered User
Posts: 274
Joined: Sun Aug 06, 2006 10:59 pm
Location: Argentina
Contact:

Re: [BETA] Thanks First Post 0.0.1

Post by ^[GS]^ »

it could be done with ajax? and with an anti flood?

moustafamin
Registered User
Posts: 230
Joined: Thu Aug 30, 2007 8:10 am

Re: [BETA] Thanks First Post 0.0.1

Post by moustafamin »

^[GS]^ wrote:it could be done with ajax?
yes please :D

Mandarola
Registered User
Posts: 245
Joined: Tue Sep 25, 2007 3:21 am

Re: [BETA] Thanks First Post 0.0.1

Post by Mandarola »

I install the mod and I tested it and when I thank the first post, the number of the thanks doesn't change...it doesn't appear

Appear only like this

Thanks :

How can I fix it?

electricx
Registered User
Posts: 46
Joined: Mon Oct 15, 2007 2:01 pm

Re: [BETA] Thanks First Post 0.0.1

Post by electricx »

Hi, i cant found this files:

styles/prosilver/theme/buttons.css
styles/prosilver/theme/colours.css

what i do ?

thanks ;)

User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [BETA] Thanks First Post 0.0.1

Post by darkonia »

when comes a subsilver2 version?
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.

electricx
Registered User
Posts: 46
Joined: Mon Oct 15, 2007 2:01 pm

Re: [BETA] Thanks First Post 0.0.1

Post by electricx »

yes, my template have the subsiler2 in the base :s

electricx
Registered User
Posts: 46
Joined: Mon Oct 15, 2007 2:01 pm

Re: [BETA] Thanks First Post 0.0.1

Post by electricx »

any help ?

User avatar
^[GS]^
Registered User
Posts: 274
Joined: Sun Aug 06, 2006 10:59 pm
Location: Argentina
Contact:

Re: [BETA] Thanks First Post 0.0.1

Post by ^[GS]^ »

Very good ^^

This is my source for display thanks in View Profile (prosilver)....

Open \memberlist.php
Find

Code: Select all

			'SIGNATURE'		=> $member['user_sig'],
After add

Code: Select all

			// GSX
			'THANKS'			=> $member['user_thanks'],
			'THANKED'		=> ($member['user_thanked'] <= 1) ? $member['user_thanked'] . $user->lang['THANKS_TIME'] : $member['user_thanked'] . $user->lang['THANKS_TIMES'],
			'THANKS_POST'	=> ($member['user_thanks_post'] <= 1) ? $member['user_thanks_post'] . $user->lang['THANKS_POST'] : $member['user_thanks_post'] . $user->lang['THANKS_POSTS'],
			// end -- thanks first post
Now, in \styles\prosilver\memberlist_view.html
Find

Code: Select all

			<dt>{L_JOINED}:</dt> <dd>{JOINED}</dd>
Add after

Code: Select all

			<dt>{L_THANKS}:</dt> <dd>{THANKS}</dd>
			<dt>{L_THANKED}:</dt> <dd>{THANKED} {L_IN} {THANKS_POST}</dd>
Have fun ^^ right now, I will put to investigate to make Ajax ^^
Edit: for the first time I wore ajax, achieved a lot, but I am not happy, because it has many errors xD at another time I would put this
sorry :(

Edit2:
indeed .... there is a mistake ... when you can thank any post

Find in thanks.php....

Code: Select all

		$sql = 'DELETE FROM ' . THANKS_TABLE . '
			WHERE thanks_from = ' . $user->data['user_id'];
Replace with...

Code: Select all

		$sql = 'DELETE FROM ' . THANKS_TABLE . '
			WHERE thanks_from = ' . $user->data['user_id'] . ' AND post_id = ' . $post_id;
		$db->sql_query($sql);
^^

satandream
Registered User
Posts: 383
Joined: Thu Mar 06, 2008 12:47 pm

Re: [BETA] Thanks First Post 0.0.1

Post by satandream »

Hope there will be a subsilver2 soon for this mod,some of my members are used to this functions on other boards

Locked

Return to “[3.0.x] Abandoned MODs”