vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - vBSEO Thumbs UP! (https://vborg.vbsupport.ru/showthread.php?t=295067)

dizzynation 02-12-2013 11:00 PM

vBSEO Thumbs UP!
 
1 Attachment(s)
vBSEO "Like" IMAGE! (Must have vBSEO)

Currently tested on vBulletin 4.2 and vBSEO 3.6.0

Hello all! This simple edit will change your vBSEO "Like" option in posts to an image!

Increase your forum activity by having an image for the "Like" button

AdminCP --> Languages and Phrases --> Search In Phrases

Title: "Like" -- without the quotation

Product: VBSEO

Search In.. : Phrase Text and Phrase Variable Name

Your results should come up with "vbseo_like"

Click - Edit

Click - "Copy Default Text"

Change the text to the following code *NOTE* If you have your own image add the URL to the code -

Code:

<img src="http://www.filmmakerforum.org/images/buttons/thumbs_it_up.png" alt="Like This Post?" />
</a>

Click - Save

Mark as Installed :)

You now will have a very cool thumbs up!

Sample Image
http://www.digipress.us/pics/sample-thumbs.png

COMING SOON
http://www.digipress.us/pics/you_like_this.png

dizzynation 02-12-2013 11:49 PM

After extensive testing I found the "Unlike" text to be more suitable rather then having an image for that as well. But if you feel you want an image for the "unlike" please look below

To perform the same action for the "UnLike" option please follow the same steps but this time for "vbseo_unlike"

Below is the following code to add to the box

Code:

<img src="http://www.filmmakerforum.org/vbseo/resources/images/forum/unlike-thumbs.png" alt="Remove Your Like" />
</a>

The size should be perfect, it doesn't intrude on anything around it.

Enjoy!

nacaruncr 02-13-2013 12:14 AM

You could try with this:

Code:

<vb:if condition="$show['guest']">
<a href="./register.php" alt="Register you to Like This Post"><img src="http://www.filmmakerforum.org/images/buttons/thumbs_it_up.png" alt="" /></a>
                                        <vb:else />
<img src="http://www.filmmakerforum.org/images/buttons/thumbs_it_up.png" alt="Like This Post?" /></a>
                                        </vb:if>

I don't know.. its a idea :p
Regards ;)

New Joe 02-13-2013 12:52 AM

Worked great.
Anyway to also have an image for the 'unlike' text?
as once you've clicked the thumbs up it shows the text 'unlike'

dizzynation 02-13-2013 01:12 AM

Quote:

Originally Posted by New Joe (Post 2403900)
Worked great.
Anyway to also have an image for the 'unlike' text?
as once you've clicked the thumbs up it shows the text 'unlike'

Ok, I have a BBQ to go to, I will create something when I get back

ramesh_umk3 02-13-2013 05:24 AM

Quote:

Originally Posted by New Joe (Post 2403900)
Worked great.
Anyway to also have an image for the 'unlike' text?
as once you've clicked the thumbs up it shows the text 'unlike'

Why don't you follow same procedure for Unlike too

search for "vbseo_unlike" phrase and replace below code

Code:

<img src="http://png.findicons.com/files/icons/2482/icons8_ever_growing_set_of_windows_8_metro_style_icons/26/thumbs_down.png" alt="UnLike This Post?" />
</a>


abdobasha2004 02-21-2013 05:07 PM

perfect ! https://vborg.vbsupport.ru/external/2013/02/14.png
thanks

dany_danay 03-17-2013 08:41 PM

I cant find the template that i have to edit...

dizzynation 03-22-2013 03:55 AM

Quote:

Originally Posted by dany_danay (Post 2410647)
I cant find the template that i have to edit...

Do you have VBSEO also what version of VB are you running?

MissKalunji 03-25-2013 03:58 AM

Quote:

Originally Posted by dany_danay (Post 2410647)
I cant find the template that i have to edit...

it's within Phrase not template?


All times are GMT. The time now is 06:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01099 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete