Jump to content


- - - - -

Javascript on class_bbcode_core.php


This topic has been archived. This means that you cannot reply to this topic.
9 replies to this topic

#1 Solltex

Solltex

    Advanced Member

  • Members
  • PipPipPipPip
  • 84 posts

Posted 14 March 2007 - 07:41 PM

Howto add this code into class_bbcode_core.php below this line:
CODE
// Do we have http:// at the front?


this code:
CODE
<script language="Javascript">ccount_display('1')</script>


I cant install Click (download) counter.

Thanks

#2 Sean

Sean

    The One Man Show - IB.Bored

  • IM Supporters
  • PipPipPipPipPipPipPipPipPipPip
  • 3,857 posts

Posted 14 March 2007 - 08:47 PM

CODE
// Do we have http:// at the front?

That is a comment, it wouldn't actually do anything. What are you trying to do?

Posted Image

My Free Modifications | For Sale Modifications | Photos of Moi | Services System

My computer is messed up. I can't develop anything until I get my grubby paws a new computer.

I do not offer support via PM or any other messenger service. Please use the forums.


#3 Solltex

Solltex

    Advanced Member

  • Members
  • PipPipPipPip
  • 84 posts

Posted 14 March 2007 - 10:12 PM

I trying install click counter to links, but cant any script install

Edited by Solltex, 14 March 2007 - 10:13 PM.


#4 Sean

Sean

    The One Man Show - IB.Bored

  • IM Supporters
  • PipPipPipPipPipPipPipPipPipPip
  • 3,857 posts

Posted 14 March 2007 - 10:18 PM

Have you tried posting in the support topic for that mod? I've never heard of, or seen it - so I have no idea what you are trying to do.

Posted Image

My Free Modifications | For Sale Modifications | Photos of Moi | Services System

My computer is messed up. I can't develop anything until I get my grubby paws a new computer.

I do not offer support via PM or any other messenger service. Please use the forums.


#5 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts

Posted 14 March 2007 - 11:07 PM

You're definitely not going to be able to just stick in that line of code, it's HTML code, it can't be parsed as-is by the PHP file you're trying to put it in to.
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter

#6 Solltex

Solltex

    Advanced Member

  • Members
  • PipPipPipPip
  • 84 posts

Posted 14 March 2007 - 11:12 PM

I trying install this script smile.gif
http://www.phpjunkyard.com/php-click-counter.php

#7 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts

Posted 15 March 2007 - 12:11 AM

That script is not designed for IPB, it would take a lot of customizing to integrate that.
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter

#8 Solltex

Solltex

    Advanced Member

  • Members
  • PipPipPipPip
  • 84 posts

Posted 15 March 2007 - 06:12 PM

You can this script designed for IPB? smile.gif

#9 ThiagoInfo

ThiagoInfo

    Member

  • Members
  • PipPipPip
  • 32 posts

Posted 15 March 2007 - 07:59 PM

QUOTE(Solltex @ Mar 15 2007, 01:12 PM) <{POST_SNAPBACK}>
You can this script designed for IPB? smile.gif



creat newm bbcode:
CODE
            <bbcode>
            <bbcode_id>42</bbcode_id>
            <bbcode_title>Download</bbcode_title>
            <bbcode_desc>Usado para contabilizar os cliques feito em downloads via http.</bbcode_desc>
            <bbcode_tag>down</bbcode_tag>
            <bbcode_replace><![CDATA[<img src="/pd/cont/down.gif" width="18" height="18">  <a href="/pd/cont/pdcont.php?url={content}" target="_blank">
{option}</a>  <font color="#909090">Downloads: <script language="javascript" src="/pd/cont/pddisplay.php?url={content}"></script></font>]]></bbcode_replace>
            <bbcode_useoption>1</bbcode_useoption>
            <bbcode_example><![CDATA[[down={content}]{option}[/down]]]></bbcode_example>
            <bbcode_switch_option>1</bbcode_switch_option>
            <bbcode_add_into_menu>1</bbcode_add_into_menu>
            <bbcode_menu_option_text>Insira o Título da Url</bbcode_menu_option_text>
            <bbcode_menu_content_text>Insira a Url do link de Download</bbcode_menu_content_text>
        </bbcode>


cont, require php 4
Attached File  cont_by_ThiagoInfo.zip   9.09K   2 downloads

#10 Solltex

Solltex

    Advanced Member

  • Members
  • PipPipPipPip
  • 84 posts

Posted 16 March 2007 - 05:40 PM

w00t.gif howto install this mod?