Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by bigbigsavings (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-15-2001 Last Update: Never Installs: 0
 
No support by the author.

Hi guys,

I'm wondering if there's something like this out there, as I've seen it used at several other forums & forum software packages.

Basically, what I'm looking for is something that would track any urls that are clicked on from the forum.

In essence, if someone posts something like

http://www.bigbigsavings.com

It would automatically change the url to

http://www.bigbigsavings.com/track.p...bigsavings.com

So, then I could go into the admin panel of some sort in track.php3 and see all the url's that are getting clicks on from the forum.

Is there anything like this?

Thanks!

Alex

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-15-2001, 01:55 AM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why not use an ad script and replacement variables?
Reply With Quote
  #3  
Old 10-15-2001, 01:56 AM
bigbigsavings
Guest
 
Posts: n/a
Default

eva2000,

Care to elaborate? Non-techie here

Alex
Reply With Quote
  #4  
Old 10-15-2001, 02:09 AM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i.e. if you use an ad banner script or link tracking script and put in the text url. Then in vB admin panel, add a replacement variable to find domain.com and replace it with the ad banner/link tracking url for that text url

btw, how's your vB and server hardware holding up ?
Reply With Quote
  #5  
Old 10-15-2001, 02:18 AM
bigbigsavings
Guest
 
Posts: n/a
Default

eva2000,

It's not that easy. I want th program to automatically store any urls' that are posted in the forums, not stuff that I've programmed. Also, as far as I know know, replacing the variables would be more difficult than you make it seem, since you'd have to mess around with the way vbulletin treats (url) tags (replace () with []).

I hope I'm making sense?

As for servers,

Currently Active Users: 496
There are currently 153 members and 343 guests on the boards. | Most users ever online was 943 on 08-13-2001 at 12:27 PM.

Web Server:
10:49pm up 62 days, 12:27, 1 user, load average: 0.85, 1.01, 1.14

Database Server:
11:12pm up 44 days, 3:49, 1 user, load average: 0.51, 0.59, 0.64

Completely stock configuration, haven't touched one config file.

Alex
Reply With Quote
  #6  
Old 10-15-2001, 01:48 PM
chrispadfield's Avatar
chrispadfield chrispadfield is offline
 
Join Date: Oct 2001
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I started writing this but never got it to work. In functions.php
i did the following replacement

PHP Code:
        $replacearray = array(
          
"<ol type=\"\\5\">\\7</ol>",
          
"<ul>\\4</ul>",
          
"<li>",
          
"<a href=\"http://www.\\6\" target=\"_blank\">\\8</a>",
          
"<a href=\"\\5\" target=\"_blank\">\\7</a>",
          
"<a href=\"http://www.\\5\" target=\"_blank\">\\5</a>",
          
"<a href=\"\\4\" target=\"_blank\">\\4</a>",
          
"</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",
          
"</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",
          
"java script:",
          
"about :"
        
);

/*

            $replacearray = array(
          "<ol type=\"\\5\">\\7</ol>",
          "<ul>\\4</ul>",
          "<li>",
          "<a href=\"http://www.ascifi.com/forums/jump.php?url=http://www.\\6\" target=\"_blank\">\\8</a>",
          "<a href=\"http://www.ascifi.com/forums/jump.php?url=\\5\" target=\"_blank\">\\7</a>",
          "<a href=\"http://www.ascifi.com/forums/jump.php?url=http://www.\\5\" target=\"_blank\">\\5</a>",
          "<a href=\"\\4\" target=\"_blank\">\\4</a>",
          "</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",
          "</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",
          "java script:",
          "about :"
        );

*/ 
and then jump.php is

PHP Code:
<?

####################### Jump.php by Chris Padfield #######################

require('./global.php');

$DB_site->query("INSERT INTO urllog SET
        url = '".addslashes($url)."',
        dateline = '".time()."'
    ");

header("Location: $url");

?>
the problem was the second variables were not working. For example

www.ascifi.com/forums/showthread.php?threadid=45
would be fine
but
http://www.ascifi.com/forums/showthr...34&threadid=45

would have threadid=45 dropped of and result in an error.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04263 seconds
  • Memory Usage 2,252KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (3)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete