FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 5 users online :: 0 Registered, 0 Hidden and 5 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

I lost a Script and now im looking for it

View previous topic View next topic Go down

Michael_vx
Michael_vx

Gender : Male
Age : 32
Posts : 302
Points : 4308
Reputation : 76
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx Sun 31 Jul 2016, 09:48

i do not remember what name was for that Script
the Script was to add any content inside the topic Via JavaScript
not inside the template
it was like the facebook Script it you remember it
ops
sorry i lost the link Very Happy
Anonymous
Guest
Guest

PostGuest Sun 31 Jul 2016, 10:56

@Michael_vx: What exactly is it you do expect from us? Did you try to restore your site to a point in time when it DID work using the founder tools?
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 31 Jul 2016, 11:10

I'm just gonna take a shot in the dark, is this what you're looking for ?
http://help.forumotion.com/t131789-add-a-form-on-creation-of-a-new-topic#884013

Then again, it sounds like you're talking about topics that are already posted.. Think
Michael_vx
Michael_vx

Gender : Male
Age : 32
Posts : 302
Points : 4308
Reputation : 76
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx Sun 31 Jul 2016, 13:16

do you remember this Script

Code:
$(document).ready(function () {


              var fb_skin = "light"; //Valores posibles "light" o "dark". Skin claro u oscuro de Facebook Comments
              var fb_numposts = 5; //Nْmero de comentarios a mostrar por defecto


                (function (d, s, id) {
              var js, fjs = d.getElementsByTagName(s)[0];
              if (d.getElementById(id)) return;
              js = d.createElement(s);
              js.id = id;
              js.src = "//connect.facebook.net/ar_AR/all.js#xfbml=1";
              fjs.parentNode.insertBefore(js, fjs)
              }(document, 'script', 'facebook-jssdk'));
              v = '.forumline:has(td.signature_div .postbody)';
              ifphpbb2in = '';
              ifphpbb2out = '';
              if ($(v).length == 0) {
                  v = 'td.post:first:has(.signature_div, .pun)';
              } else {
              ifphpbb2in = '<table class="forumline"><tr><td colspan=3>';
              ifphpbb2out = '</td></tr></table>';
              }
              if ($(v).length == 0) {
              v = '#blog_comments'
              }
                $('tr.post .postbody:first').after(ifphpbb2in + '<div class=fb-comments data-href="http://' + location.host + location.pathname + '" data-colorscheme="' + fb_skin + '" data-num-posts=' + fb_numposts + ' data-width=' + $(v).css('width') + '></div>' + ifphpbb2out);
              });

when you made the right change to make the facebook coments apear inside the topics not at thew end of the topics page
you made a other Script which can add any content inside the topics just like the Script above
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 31 Jul 2016, 15:01

Oh yeah, I remember that, but I don't remember the other script I made. Dx

I think this is the topic though :
http://help.forumotion.com/t131854-how-to-change-position-of-the-facebook-comments-code
Michael_vx
Michael_vx

Gender : Male
Age : 32
Posts : 302
Points : 4308
Reputation : 76
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx Mon 01 Aug 2016, 08:48

yea it is
you dont remember .......
it was a small Script something like this


Code:
$('tr.post .postbody:first').after(ifphpbb2in + '<div class=fb-comments data-href="http://' + location.host + location.pathname + '" data-colorscheme="' + fb_skin + '" data-num-posts=' + fb_numposts + ' data-width=' + $(v).css('width') + '></div>' + ifphpbb2out);
});
something content
('tr.post .postbody:first')
and you made the other versions as well phpbb3 and punbb
im trying to remember the Script or where
i still cant Sad
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Mon 01 Aug 2016, 11:19

Was it in a separate topic or PM ? These are all the topics you made on the support ( starting from oldest ) :
http://help.forumotion.com/st/Michael_vx/60

Sadly I can't remember.. Computer Smash
Michael_vx
Michael_vx

Gender : Male
Age : 32
Posts : 302
Points : 4308
Reputation : 76
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx Tue 02 Aug 2016, 06:40

its something i did not ask for
you did it  it should insert a content in .postbody
i will try to look for it again just if i remember where you post it
Anonymous
Guest
Guest

PostGuest Tue 02 Aug 2016, 08:10

Maybe it's in the Garbage...
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 02 Aug 2016, 12:45

Michael_vx wrote:its something i did not ask for
you did it  it should insert a content in .postbody
i will try to look for it again just if i remember where you post it
If you cannot find it, we could try remaking it. I'd just need to know what content is supposed to be inserted into the postbody. Think
Michael_vx
Michael_vx

Gender : Male
Age : 32
Posts : 302
Points : 4308
Reputation : 76
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx Tue 02 Aug 2016, 21:14

the content would be HTML Scripts or Java in HTML mode
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 02 Aug 2016, 21:37

Oh, so you want to format JavaScript in the topics ?
Michael_vx
Michael_vx

Gender : Male
Age : 32
Posts : 302
Points : 4308
Reputation : 76
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx Thu 04 Aug 2016, 12:22

hmmmm
i think its almost the same
JavaScript manger or any place else
i seen about 5 pages looking for that post Very Happy
still not found yet
A javaScrip can add any thing in the first post like the facebook Script in my first post of this topic
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Thu 04 Aug 2016, 18:17

So it just adds content to the first post ? I guess you could do something like this :
Code:
$(function() {
  $('.postbody').eq(0).append('CONTENT');
});
Then you just replace CONTENT with whatever you want. Wink
Michael_vx
Michael_vx

Gender : Male
Age : 32
Posts : 302
Points : 4308
Reputation : 76
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx Fri 05 Aug 2016, 07:40

Ange Tuteur wrote:So it just adds content to the first post ? I guess you could do something like this :
Code:
$(function() {
  $('.postbody').eq(0).append('CONTENT');
});
Then you just replace CONTENT with whatever you want. Wink
i think its looks like the one you made before
i made a test with
Code:
<script src="//www.adsptp.com/4655-728x90.js"></script>
looks like it did break the Script Very Happy
im not sure if ill need it or not the ads site has refused

adsterra wrote:
Sorry, your registration has been declined.
Reason: your website is below minimum traffic requirements (>1M Alexa rank). If you have other high traffic websites, you own an app, or have a popular Facebook fan page, please contact Support with stats details of your site and we will review your application again.
Anonymous
Guest
Guest

PostGuest Tue 23 Aug 2016, 17:53

*** This topic will be closed soon if we don't get any feedback. @Michael_vx Is this solved / still needed? ***
Michael_vx
Michael_vx

Gender : Male
Age : 32
Posts : 302
Points : 4308
Reputation : 76
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx Tue 23 Aug 2016, 21:08

my apolgize my site was damged so bad today i took 10 hours to fix the database
this topic is solved already
sorry i forget to say that
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 23 Aug 2016, 21:12

@Michael_vx thanks for letting us know. ^^

Topic archived

PS
Hope your site is back up and running.
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

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