vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Post Replacements (https://vborg.vbsupport.ru/showthread.php?t=125307)

Stoebi 11-12-2006 04:26 PM

Quote:

Originally Posted by Tulsa
Nice work!

Now when the word or phrase ends with a period, as in the ends a sentence, it's not being replaced.

So if you were replacing the word "test" and the sentence was "I will see how you did on the test." Test would not be replaced.

Fixed - Thx :)

Updated - New version 1.8


Regards, Stoebi

tansu 11-13-2006 12:21 AM

Hello,
we have a problem, each link we add, adds an extra \ to some other links..
Example:
http://www.doctus.net/showpost.php?p=84884&postcount=4

Kommix 11-13-2006 12:36 AM

Problem solved (in cooperation with tansu): we had to clear the example in the XML file. in the end, the code was like this:
Code:

<phrase name="setting_post_Replacements_option_desc" date="1157204521" username="Rdsx" version="1.1"><![CDATA[]]></phrase>

DrewM 11-13-2006 09:02 AM

Quote:

Originally Posted by Stoebi (Post 1115558)
Fixed - Thx :)

Updated - New version 1.8


Regards, Stoebi

thanks I will update the hack today sorry every one for ot supporting this I for got about it :)

actolearn 11-16-2006 09:23 PM

hello,

first, thanks very much for this fantastic mod. :)

a quick question: is it possible to replace links, or entire strings of HTML? for instance i wanted to replace link and anchor text for site A to link and anchor text to site B. the code i tried was
Code:

<a href="http://www.yahoo.com">good site</a>===<a href="http://www.actoguitar.com">great site</a> ||| good site===great site
you'll notice i tried using both HTML and BBcode. i also tried using each one individually. no replacement was made, though.

i am using vbulletin 3.6.3 and version 1.8 of this hack.

any help would be most appreciated. thanks again for this fantastic mod!

DrewM 11-22-2006 04:45 PM

first I'm sorry for the late replie this is a problem with the hack I will look into it more over more though... expect 1.9

DkHelmet 11-29-2006 07:39 PM

Just to jump on the bandwagon:

A better means of specifying replacements would be nice, this can get very unwieldy if more than a dozen or so are in place. Good place to add in string sensitivity and standalone word/inside word per replacement options.

It would be nice to have an "apply only to usergroup" or "except usergroup" option.

Installed.

projectego 11-29-2006 10:31 PM

[high]* projectego clicks install ;)[/high]

Brew 01-02-2007 02:20 AM

I have no idea how or if this could be done but I would like to see this with the ability to have dynamic urls for words.

So if I were to post something about the White House that would turn into a link to somewhere like a wikipedia page on the White House.

Otherwise...Thanks!

maxicep 01-05-2007 12:36 PM

nice hack. thanks. i will install


All times are GMT. The time now is 07:55 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.02281 seconds
  • Memory Usage 1,739KB
  • 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