" Likes" Feature »  Show posts from    to     

Icy Phoenix


phpBB 3 MODS And Styles (Not Compatible With phpBB 3.1) - " Likes" Feature



shefmanager [ Sat 16 Jul, 2011 14:20 ]
Post subject: " Likes" Feature
Hello all

I'm trying to add a "likes" mod to my Black Pearl theme so that someone can say they like a post thats been submitted.

I tried following this one:

http://www.phpbb.com/community/viewtopic.php?t=1690905

But as you can see it's written for subsilver 2 and the very first change i needed to make was to the imageset.cfg file. So i guessed instead of going to the style subsilver2 id go to my default one of black_pearl and make all the changes within my default style. Well in the imageset under black pearl the first "find" wasn't there.
Could someone point me in the direction of adding a "like" posts function for the theme Black Pearl please?

I'm quite new to this so please be be patient if i don't understand


Joshua203 [ Sat 16 Jul, 2011 15:28 ]
Post subject: Re: " Likes" Feature
I have a feeling you are trying to find a ProSilver edit (these will not be found in subsilver and blackpearl!)

Skip any edit with prosilver in its path in the modx ...go back to the top of the modx file and scroll down to the link for subsilver edits ... click it and do the edits for subsilver in your black pearl


Joshua203 [ Sat 16 Jul, 2011 18:56 ]
Post subject: Re: " Likes" Feature
you would save yourself some extra trouble if you do this after updating the style to 1.6.5

**and keep in mind that you re still going to have some small trouble finding all edits (like I said on phpbb.com ...you might need to get a little creative)


shefmanager [ Sat 16 Jul, 2011 19:14 ]
Post subject: Re: " Likes" Feature
Hi Joshua, Many thanks for reply. I think i understand what you mean so i went back out of the edits for prosilver and looked at the edits for subsilver2. From i here i believe you suggest i do the edits meant for subsilver in my black pearl files?
If thats the case then it's still the same issue i have. If i can show you please.

Its asking me to find:

Code: [Hide] [Select]
img_icon_topic_unapproved = icon_topic_unapproved.gif*18*19


However in my black Pearl i don't have that code i have this as the nearest match:

Code: [Hide] [Select]
img_icon_topic_unapproved = icon_topic_unapproved.png*17*17


What do you suggest i do if i have code i'm to find and it's not there?

Here are the other change files it's asking me to do:
Code: [Hide] [Select]
Files to edit
styles/subsilver2/imageset/imageset.cfg,
styles/subsilver2/template/forumlist_body.html,
styles/subsilver2/template/memberlist_view.html,
styles/subsilver2/template/overall_header.html,
styles/subsilver2/template/ucp_prefs_personal.html,
styles/subsilver2/template/viewforum_body.html,
styles/subsilver2/template/viewtopic_body.html



With regards updating - if i can work this out then i'll look at updating to the latest one. If i cant figure this out i may just stay with 1.6.3 as it seems stable enough
Regards


Joshua203 [ Sat 16 Jul, 2011 19:32 ]
Post subject: Re: " Likes" Feature
MODX file wrote: 
Find
Tip: This may be a partial find and not the whole line.

ignore the numbers (and maybe add width and height for the new icons?)


shefmanager wrote: [View Post]
What do you suggest i do if i have code i'm to find and it's not there?

You can expect a "no find" in the overall header .. read the thread at phpbb.com.. post back if you have more questions


Joshua203 [ Sat 16 Jul, 2011 19:42 ]
Post subject: Re: " Likes" Feature
BTW ..you should update the style anyway (to match your phpbb version at the very least)


shefmanager [ Sat 16 Jul, 2011 19:47 ]
Post subject: Re: " Likes" Feature
I feel stupid for asking !!

I have read the thread on phb.com until i'm blue in the face and still trying to learn this stuff.

You say ignore the numbers? Do you mean just leave the numbers off the end or just add the code it wants me to add underneath the nearest match i have in black pearl?

In the case of not having it at all like in the imageset.cfg - do i simply add it some place?
I do apologise for being thick ! And i honestly am trying to help myself by reading but this takes a lot of getting used to when newish to it.

*Edit*

I lost all my hair with stress editing my forum with little tweaks - not sure the old ticker will stand another over haul of the board hahahaha!

Regards


Joshua203 [ Sat 16 Jul, 2011 19:54 ]
Post subject: Re: " Likes" Feature
A stupid question is the one never asked

You just find the partial find and leave the line intact, paste the new lines to be added on a new line


shefmanager [ Sat 16 Jul, 2011 19:59 ]
Post subject: Re: " Likes" Feature
Thanks Joshua

Now i understand when it said " a partial find" i thought it meant the whole code WOULD be there but may contain more code after it in the same line.

Really appreciate your patience and trying to help a thicko!! It's thanks to people like you willing to help us newbies that makes it all worth while making forums for others to enjoy. Joshua for President i say !!!!

Regards


Joshua203 [ Sat 16 Jul, 2011 20:09 ]
Post subject: Re: " Likes" Feature
shefmanager wrote: [View Post]
Joshua for President i say !!!!

Maybe in another life




Powered by Icy Phoenix