Not Solved Vienna Theme Support...
#21
Not Solved
You will need to edit the tipsy code in headerinclude template

$.fn.tipsy.autoNS and $.fn.tipsy.autoWE will choose where the tipsy will be placed depending where the link is.
[Image: sig2.jpg]
Reply
#22
Not Solved
Ok, doing changes.. will feedback on this :-)

<script type='text/javascript'> 
$(function() {
$("a").tipsy({gravity: jQuery.fn.tipsy.autoNS});
$("title").tipsy({gravity: jQuery.fn.tipsy.autoNS});
$("img").tipsy({gravity: jQuery.fn.tipsy.autoNS});
$("i").tipsy({gravity: jQuery.fn.tipsy.autoNS});
$("span").tipsy({gravity: jQuery.fn.tipsy.autoNS});
$("div").tipsy({gravity: jQuery.fn.tipsy.autoNS});
  });
</script>

what to replace it with ?
Reply
#23
Not Solved
Not entirely sure, you'd need to play about with it or you could just use bootstrap tooltips which i use now.

http://getbootstrap.com/customize/

Just untick everything apart from tooltips and then download the zip.

Upload the files to your theme and link them, add the css.
[Image: sig2.jpg]
Reply
#24
Not Solved
DONE - "Just untick everything apart from tooltips and then download the zip"

Upload the files to your theme - What location ?
(After unzipping bootstrap.zip i got 2 folders & 1 file, css & js folder , config.json file.

And link them, add the css - How & where ?

Regards
Reply
#25
Not Solved
Make a new stylesheet in your themes theme section, copy paste the css into it.
Upload the other files to your theme and link the js scripts in templates > your theme > Ungrouped Templates > headerinclude.


<script type="text/javascript" src="images/yourtheme/bootstrap.min.js"></script>

Just so you know this way you will need to add code to what links or buttons you want using tooltips using this code.

data-animation="true" data-toggle="tooltip" class="postbit_email tip-top" data-original-title="Tooltip on top"
[Image: sig2.jpg]
Reply
#26
Not Solved
It's way too much advance for me, better i find some work around i.e trim the hover text :<

Where is hover text to edit "Find all posts by this user" & "Send this user a private message" this hover pops inside threads postbit ?
Reply
#27
Not Solved
Templates > Vienna > Postbit templates

postbit_find and postbit_pm
[Image: sig2.jpg]
Reply
#28
Not Solved
Strangely there was no hard coded text ,only code (postbit_find) i.e
<a href="search.php?action=finduser&amp;uid={$post['uid']}" title="{$lang->postbit_find}" class="postbit_find"><span>{$lang->postbit_button_find}</span></a>

I need to edit the hover text i.e "Find all posts by this user" & "Send this user a private message" to something shorter
Reply
#29
Not Solved
Remove the {$lang->postbit_button_find} and replace it with shorter text

<a href="search.php?action=finduser&amp;uid={$post['uid']}" title="{$lang->postbit_find}" class="postbit_find"><span>Users posts</span></a> 
[Image: sig2.jpg]
Reply
#30
Not Solved
Thanks , i was about to do that,but looks awful that way,no other way to edit that already hard coded text from DB or some theme files !

thanks for coping such a long way with me ,you got lots of patience ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)