[RC] Thanks for post by Палыч

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
Locked
User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] Thanks for post by Палыч

Post by katib » Thu Jun 04, 2009 3:27 pm

sorry
post made by mistake

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] Thanks for post by Палыч

Post by katib » Thu Jun 04, 2009 7:26 pm

I installed the Mod, did all the edits twice!! purged the cache....
the thanks data seems to be upgraded
I can see list of "Say thanks" and "Obtained thanks" under user profile, wroking fine..
However, I cant see any list of thanks under viewtopic: nothing under poster avatar, and nothing bellow message, no thanks buttons !!


In fact, I didnot understand anything in this sentence form Mod xml:
To view a list of thanks need to allow the global user permission.
although I did both:
ACP ---> permissions ---> forums permissions ----> X forum----> groups(registred)-->edit---->misc ---->It сan thank for the posts/YES
and
ACP---> permissions ---> group permissions ----> registred ---->misc --->It сan view the list thanks /YES

finally, this a part from /styles/mavilim/template/viewtopic_body.html

Code: Select all

{REPORT_IMG} {INFO_IMG} {WARN_IMG} {DELETE_IMG} {postrow.THANK_IMG} 
--------------------------------------------------------------------------------
{postrow.THANK_TEXT}{postrow.POST_AUTHOR_FULL}{postrow.THANK_TEXT_2}: {postrow.THANKS}  
 
 
 
 {L_BACK_TO_TOP}  {PROFILE_IMG} {PM_IMG} {EMAIL_IMG}  
{QUICKEDIT_IMG} {EDIT_IMG} {QUOTE_IMG}   

Code: Select all

{L_JOINED}: {postrow.POSTER_JOINED}
{L_POSTS}: {postrow.POSTER_POSTS}
{L_AGE}: {postrow.POSTER_AGE}
{L_LOCATION}: {postrow.POSTER_FROM}
{L_GIVEN}: {postrow.POSTER_GIVE_COUNT} {L_THANKS}
{L_RECEIVED}: {postrow.POSTER_RECEIVE_COUNT} {L_THANKS}
{postrow.PROFILE_FIELD1_NAME}: 
Where is the mistake !!? :roll:

User avatar
Палыч
Translator
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: [RC] Thanks for post by Палыч

Post by Палыч » Thu Jun 04, 2009 7:56 pm

Look in the table phpbb_acl_options (at the very end) no Do you have a duplication option f_thanks?
and updated if you set the imageset on the Styles tab?
Sorry for my bad english

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] Thanks for post by Палыч

Post by katib » Thu Jun 04, 2009 8:04 pm

Thanks for prompt reply
I did check phpbb_acl_options
there only one f_thanks
maybe the probleme is not related to imageset, because I see nothing under the poster avatar also !! :roll:

User avatar
Палыч
Translator
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: [RC] Thanks for post by Палыч

Post by Палыч » Thu Jun 04, 2009 8:14 pm

katib wrote:Thanks for prompt reply
I did check phpbb_acl_options
there only one f_thanks
maybe the probleme is not related to imageset, because I see nothing under the poster avatar also !! :roll:
viewtopic_body.html
FIND

Code: Select all

<a href="{postrow.THANKS_LINK}"><img src="{T_IMAGESET_PATH}{postrow.THANKS_IMG}" alt="{postrow.THANK_ALT}{postrow.POST_AUTHOR}{postrow.THANK_ALT2}" /></a>
REPLACE

Code: Select all

<a href="{postrow.THANKS_LINK}"><img src="{T_IMAGESET_PATH}{postrow.THANKS_IMG}" alt="{postrow.THANK_ALT}{postrow.POST_AUTHOR}{postrow.THANK_ALT2}"></a>
Sorry for my bad english

User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [RC] Thanks for post by Палыч

Post by IPB_Refugee » Thu Jun 04, 2009 8:17 pm

Hi katib,

did you do the file edits for all of your styles?

Regards
Wolfgang

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] Thanks for post by Палыч

Post by katib » Thu Jun 04, 2009 8:27 pm

@IPB_Refugee
IPB_Refugee wrote:Hi katib,

did you do the file edits for all of your styles?
Wolfgang
I am using mavilim, a subsilver2 based style

@Палыч
Sorry
maybe I did a big mistake :D
I dont have the code you are asking me to replace :roll: :roll:

form Mod xml (subsilver) I have the following:

FIND

Code: Select all

<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
AFTER ADD

Code: Select all

<!-- IF not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS --><br /><b>{L_GIVEN}:</b> {postrow.POSTER_GIVE_COUNT} {L_THANKS}<br /><b>{L_RECEIVED}:</b> {postrow.POSTER_RECEIVE_COUNT} {L_THANKS}<!-- ENDIF -->
FIND

Code: Select all

<!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
AFTER ADD

Code: Select all

<!-- IF postrow.S_POST_ANONYMOUS -->
	<!-- ELSEIF not postrow.S_FORUM_THANKS -->
	<!-- ELSEIF not S_USER_LOGGED_IN and not postrow.THANKS -->
	<!-- ELSEIF postrow.S_IS_OWN_POST and not postrow.THANKS -->
	<!-- ELSE -->
		<!-- IF postrow.S_ALREADY_THANKED and not postrow.S_REMOVE_THANKS -->
		<!-- ELSEIF S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and not S_IS_BOT -->
			<a href="{postrow.THANKS_LINK}" alt="{postrow.THANK_ALT}{postrow.POST_AUTHOR}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}">{postrow.THANK_IMG}</a>
		<!-- ENDIF -->
		<!-- IF postrow.THANKS and postrow.THANKS_POSTLIST_VIEW -->
			<table width="100%" cellspacing="0">
				<tr valign="middle">
					<td class="gensmall" align="{S_CONTENT_FLOW_BEGIN}">				
					<hr />
					{postrow.THANK_TEXT}{postrow.POST_AUTHOR_FULL}{postrow.THANK_TEXT_2}: {postrow.THANKS}
					</td>
				</tr>
			</table>			
		<!-- ENDIF -->	
	<!-- ENDIF -->

User avatar
Палыч
Translator
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: [RC] Thanks for post by Палыч

Post by Палыч » Thu Jun 04, 2009 8:47 pm

OK. Sorry, I thought that you put the over Thank Post MOD by Geoffrey Craft ver 040 and your style is based on prosilver...

Now remember that you have Thank Post Mod (hide MOD compatible) 0.2.0 :)

You can give a link to the forum?
Sorry for my bad english

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] Thanks for post by Палыч

Post by katib » Thu Jun 04, 2009 9:01 pm

Палыч wrote:OK. Sorry, I thought that you put the over Thank Post MOD by Geoffrey Craft ver 040 and your style is based on prosilver...

Now remember that you have Thank Post Mod (hide MOD compatible) 0.2.0 :)

You can give a link to the forum?
Thanks a lot for help
link tto my forum is:
http://hijaj.net
unfortunatelly it is not an english forum, it is an ARABIC forum
and it is still using the Thank Post Mod (hide MOD compatible) 0.2.0

I am currentlly trying to install your Mod on localhost before uplaoding the files online. first I did undo all edits from previous Mod.
Do I need to make localhost sever publically available trought a service like dyndns.org !?

User avatar
Палыч
Translator
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: [RC] Thanks for post by Палыч

Post by Палыч » Thu Jun 04, 2009 9:04 pm

Hmm...
Where can I download your style?
I will try to localhost

=======================

I found your style, now try to establish
Sorry for my bad english

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] Thanks for post by Палыч

Post by katib » Thu Jun 04, 2009 9:19 pm


User avatar
Палыч
Translator
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: [RC] Thanks for post by Палыч

Post by Палыч » Thu Jun 04, 2009 9:34 pm

Everything works fine. :?
Perhaps you do not want to have a button?
Or do not copy them to a folder of language?
Or do not refresh imageset?
Image
Image
Sorry for my bad english

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] Thanks for post by Палыч

Post by katib » Thu Jun 04, 2009 10:26 pm

Vey Well :)
I am quite puzzled
tomorrow? I will try to redo all the edits
the probelm is that even "say thanks..." and "obtained thanks..." deosnot show up under avatar's poster !!!
please can you show me the edited viewtopic_body.html from the mavilim style so I can try it

User avatar
Палыч
Translator
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: [RC] Thanks for post by Палыч

Post by Палыч » Fri Jun 05, 2009 7:38 pm

katib wrote:show me the edited viewtopic_body.html
here

I would delete this piece of code from the original file of this style

Code: Select all

					<div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div> 
In my opinion it is unnecessary (duplicate)
Sorry for my bad english

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] Thanks for post by Палыч

Post by katib » Fri Jun 05, 2009 9:14 pm

Thank you very much for taking all these time to help
I spent all the day redoing all changes again and again, but I cant get anything to show up on viewtopic_body.html :roll:
I downloaded your viewtopic_body.html !! no luck !! nothing show up !!! :roll:

Now, to show the "Acknowledgments" on overallhaeder/menu2
Image

I did remove the IF switch
I replaced

Code: Select all

		<!-- IF S_DISPLAY_THANKSLIST --><td class="menu2"><a href="{U_THANKSLIST}"><img src="{T_THEME_PATH}/images/icon_mini_thanks.gif" width="12" height="13" alt="*" /> {L_GRATITUDES}</a></td><!-- ENDIF -->
By:

Code: Select all

		<td class="menu2"><a href="{U_THANKSLIST}"><img src="{T_THEME_PATH}/images/icon_mini_thanks.gif" width="12" height="13" alt="*" /> {L_GRATITUDES}</a></td>
and to show
"Say thanks: time" and "Obtained thanks: time"
under the avatar's poster,

Image

I did remove IF switch also !!!
So I'ave replaced

Code: Select all

<!-- IF not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS --><br /><b>{L_GIVEN}:</b> {postrow.POSTER_GIVE_COUNT} {L_THANKS}<br /><b>{L_RECEIVED}:</b> {postrow.POSTER_RECEIVE_COUNT} {L_THANKS}<!-- ENDIF -->
by

Code: Select all

<br /><b>{L_GIVEN}:</b> {postrow.POSTER_GIVE_COUNT} {L_THANKS}<br /><b>{L_RECEIVED}:</b> {postrow.POSTER_RECEIVE_COUNT} {L_THANKS}
So can you please tell me what is missing ??! :roll: :roll:

Locked

Return to “[3.0.x] MODs in Development”