The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Select content script

View previous topic View next topic Go down

Select content script

Post by Guest on March 5th 2011, 9:07 am

Hi all Hello
I want to install the "Select Content option" in my forum ... and I need the script . Can you help me ? Very Happy
Example :

______________

Code:
Live example :D

Guest
Guest


Back to top Go down

Re: Select content script

Post by Sanket on March 5th 2011, 9:09 am


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Re: Select content script

Post by Guest on March 6th 2011, 2:09 pm

TT not works with phpbb2 ....

Guest
Guest


Back to top Go down

Re: Select content script

Post by Darren1 on March 7th 2011, 2:14 am

Why is it necessary to add a template edition when here, on the ESF, which is PHPBB3, without templates, has it?
You know better Gangstar

Rather then edit the template, insert the script <script src="/hID-" type="text/javascript"></script> into the site description.
Replace the hID with the ID from the HTML Page (just the h1-name_of_page)
Example: <script src="/h12-forr-alex-" type="text/javascript"></script>

Stuff the template changes. Wink

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Re: Select content script

Post by Guest on March 9th 2011, 5:42 am

Hi Darren1 Hello
The problem is other , this script doesn't work with phbb2 version Smile But you can lock this topic , I solved in other way Very Happy

Guest
Guest


Back to top Go down

Re: Select content script

Post by Darren1 on March 9th 2011, 6:00 am

Really?

Check my test forum (Profile it) it's worked, when I put it in a HTML page, and linked via <script src =.... type=text/javascript> seems to work fine.

Whats the other way you did it?

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Re: Select content script

Post by lordamit on April 4th 2011, 10:28 am

Thanks a lot Darren1 Very Happy It works perfectly.

lordamit
Forumember

Male Posts : 46
Reputation : 0
Language : English
Location : Bangladesh

http://iitdu.forumsmotion.com

Back to top Go down

Re: Select content script

Post by Saxaca on April 4th 2011, 5:22 pm

phpBB2's DOM for the code-box is not like the one on the other board versions.

It should work, if you change the selectors.

Code:
<table width="90%" cellspacing="1" cellpadding="0" border="0" align="center">
  <tr><td>
    <span class="genmed"><b>Code:</b></span>
  </td></tr>
  <tr><td class="code">
    <div class="cont_code" curpos="0" maxpos="0" pageincrement="480" increment="10" collapsed="true">Code contents</div></td></tr>
</table>

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Re: Select content script

Post by dragonintel on April 5th 2011, 5:58 am

What im wondering is why this isnt included automatically in forumotion.

dragonintel
Forumember

Male Posts : 392
Reputation : 0
Language : English
Location : New York

http://bestof.forumotion.com/

Back to top Go down

Re: Select content script

Post by Ahmedvirus on July 19th 2011, 12:05 pm


Ahmedvirus
Forumember

Male Posts : 321
Reputation : 59
Language : English

http://help.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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