The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

topic widgets

3 posters

Go down

Solved topic widgets

Post by xiaomah01 May 1st 2012, 7:07 pm

how can i put some widgets on topic body,but only show in #1 floor posting body?
Example:

#1

topic widgets  Images?q=tbn:ANd9GcRkYjJ0hIzOf3SC1CPsAgHgBAmpdBkZtXYr_i4wYK_RTN-z2B-8


facebook share widget is display/enable




#2



facebook share widget is hide/disable




#3



facebook share widget is hide/disable



Last edited by xiaomah01 on May 4th 2012, 10:54 pm; edited 1 time in total
xiaomah01
xiaomah01
Forumember

Male Posts : 206
Reputation : 7
Language : English|Chinese|malay
Location : malaysia

http://johor.forumn.org/

Back to top Go down

Solved Re: topic widgets

Post by c3vietk May 2nd 2012, 8:53 am

insert the code between :
Code:
<!-- BEGIN first_post_br -->
.....
<!-- END first_post_br -->
try that... i dont know for sure Razz
c3vietk
c3vietk
Forumember

Male Posts : 65
Reputation : 41
Language : Vietnamese, HTML, Javascript, C#, PHP
Location : Vietnam, HCMc

http://diendan.chinhphuc.info/

Back to top Go down

Solved Re: topic widgets

Post by xiaomah01 May 2nd 2012, 10:04 am

c3vietk wrote:insert the code between :
Code:
<!-- BEGIN first_post_br -->
.....
<!-- END first_post_br -->
try that... i dont know for sure Razz

can't not i try already before...

but thx friend salut
xiaomah01
xiaomah01
Forumember

Male Posts : 206
Reputation : 7
Language : English|Chinese|malay
Location : malaysia

http://johor.forumn.org/

Back to top Go down

Solved Re: topic widgets

Post by indoromance May 2nd 2012, 11:17 am

also this script bro, how to add in topic?

Code:
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'id',
    multilanguagePage: true
  }, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
indoromance
indoromance
Forumember

Male Posts : 84
Reputation : 1
Language : Indonesian
Location : Indonesia

http://www.indoromance.friendhood.net

Back to top Go down

Solved Re: topic widgets

Post by xiaomah01 May 2nd 2012, 11:48 am

indoromance wrote:also this script bro, how to add in topic?

Code:
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'id',
    multilanguagePage: true
  }, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

u want add to topic?or add to index?
but sry i only familiar bb2... Razz
xiaomah01
xiaomah01
Forumember

Male Posts : 206
Reputation : 7
Language : English|Chinese|malay
Location : malaysia

http://johor.forumn.org/

Back to top Go down

Solved Re: topic widgets

Post by indoromance May 3rd 2012, 7:04 am

xiaomah01 wrote:
indoromance wrote:also this script bro, how to add in topic?

Code:
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'id',
    multilanguagePage: true
  }, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

u want add to topic?or add to index?
but sry i only familiar bb2... Razz

add to topic bro....... Hello
indoromance
indoromance
Forumember

Male Posts : 84
Reputation : 1
Language : Indonesian
Location : Indonesia

http://www.indoromance.friendhood.net

Back to top Go down

Solved Re: topic widgets

Post by xiaomah01 May 3rd 2012, 7:22 am

indoromance wrote:
xiaomah01 wrote:
indoromance wrote:also this script bro, how to add in topic?

Code:
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'id',
    multilanguagePage: true
  }, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

u want add to topic?or add to index?
but sry i only familiar bb2... Razz

add to topic bro....... Hello

i only familiar phpbb2... Razz
xiaomah01
xiaomah01
Forumember

Male Posts : 206
Reputation : 7
Language : English|Chinese|malay
Location : malaysia

http://johor.forumn.org/

Back to top Go down

Solved Re: topic widgets

Post by c3vietk May 4th 2012, 10:11 am

find
topic widgets  Images?q=tbn:ANd9GcRkYjJ0hIzOf3SC1CPsAgHgBAmpdBkZtXYr_i4wYK_RTN-z2B-8
and replace with
<div class="vietk c3{postrow.displayed.COUNT_POSTS}">
topic widgets  Images?q=tbn:ANd9GcRkYjJ0hIzOf3SC1CPsAgHgBAmpdBkZtXYr_i4wYK_RTN-z2B-8
<div>

add to CSS:
Code:
.vietk{display:none}
.vietk.c31{display:inline-block}
c3vietk
c3vietk
Forumember

Male Posts : 65
Reputation : 41
Language : Vietnamese, HTML, Javascript, C#, PHP
Location : Vietnam, HCMc

http://diendan.chinhphuc.info/

Back to top Go down

Solved Re: topic widgets

Post by xiaomah01 May 4th 2012, 10:53 pm

c3vietk wrote:find
topic widgets  Images?q=tbn:ANd9GcRkYjJ0hIzOf3SC1CPsAgHgBAmpdBkZtXYr_i4wYK_RTN-z2B-8
and replace with
<div class="vietk c3{postrow.displayed.COUNT_POSTS}">
topic widgets  Images?q=tbn:ANd9GcRkYjJ0hIzOf3SC1CPsAgHgBAmpdBkZtXYr_i4wYK_RTN-z2B-8
<div>

add to CSS:
Code:
.vietk{display:none}
.vietk.c31{display:inline-block}

oh!fantasy~using the COUNT_POSTS Shocked

u are so clever...thx u again bro salut Very good
this is nick tricks thumleft
xiaomah01
xiaomah01
Forumember

Male Posts : 206
Reputation : 7
Language : English|Chinese|malay
Location : malaysia

http://johor.forumn.org/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum