vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Amazon Associates Hack for VB3 (https://vborg.vbsupport.ru/showthread.php?t=72560)

venomx 04-17-2005 11:16 PM

I dont have this.. I think its because of the Warning Hack I have installed. :(

Code:

3. In private.php

Find:
$message = addslashes(fetch_censored_text($pm['message']));


venomx 04-17-2005 11:19 PM

I have a

Code:

$pm['message'] = fetch_censored_text($pm['message']);
This is in there 2 or 3 times.. :(

venomx 04-17-2005 11:30 PM

Anyone with the ADVANCED WARNING SYSTEM (AWS) hack that figured out where to make the changes for private.php?

venomx 04-18-2005 04:22 AM

Fixed the private problem. :)
Also I tried messing with the amazom feed with and without adding that code to the RSS Article Bot and it didnt work at all. THe RSS didnt work. :(

SEO Report 04-18-2005 02:44 PM

Quote:

Originally Posted by amykhar
No. It does not. With VB2 it did, but the way links are show has changed in VB3.

Too bad, that would be really great to be able to change existing ones! (any taker?)

Thanks for sharing!

-k

amykhar 04-18-2005 02:49 PM

You COULD change where my hack is run. Instead of running when a post is made and making the changes stick in the database, you COULD run it when the posts are shown instead. This way, they would be converted at display time, which would mean any link gets changed, no matter how old. That is the way it worked under VB2.

I didn't write the hack this way because that adds extra processing time that I felt wasn't worth it. I believe it's better to convert as each post is made, rather than having to reformat the link every time somebody views the post.

Amy

SEO Report 04-19-2005 05:59 PM

Quote:

Originally Posted by amykhar
You COULD change where my hack is run. Instead of running when a post is made and making the changes stick in the database, you COULD run it when the posts are shown instead. This way, they would be converted at display time, which would mean any link gets changed, no matter how old. That is the way it worked under VB2.

I didn't write the hack this way because that adds extra processing time that I felt wasn't worth it. I believe it's better to convert as each post is made, rather than having to reformat the link every time somebody views the post.

Good point. Is there an easy way to change this to make it work with the NTTP usenet hack?

-k

amykhar 04-19-2005 06:25 PM

Gang, I don't have the time to get this working with other hacks that I don't use. I'm sorry but you're going to be on your own to get it working with other people's code.

The good thing is, it's trivial to make this puppy work. You just have to run the post message through my Amazon parser right before the post is entered in the database. It's just a matter of reading your hack code and finding the message variable and passing that to the parser before the database insert.

venomx 04-19-2005 06:47 PM

Amy I cant register at your support forum.. Gives me a font error message that I cant copy...

amykhar 04-19-2005 07:02 PM

OK. Try it now. The image verification was goofing up.


All times are GMT. The time now is 11:05 AM.

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.01999 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete