erikfrerejean / quote_post_back_link Goto Github PK
View Code? Open in Web Editor NEWRepository for my Quote Post Back Link MOD
License: GNU General Public License v2.0
Repository for my Quote Post Back Link MOD
License: GNU General Public License v2.0
Hi Erik, thank you a lot for your great work! I'don't know if it is really a bug or I've done something wrong.
Consider the code in "styles/prosilver/template/bbcode.html":
<!-- BEGIN quote_username_post_open --><blockquote><div><cite>{USERNAME} {L_WROTE} {L_IN} <a href="{QPBL_POST}" title="{QPBL_TITLE}">{QPBL_TITLE}</a>:</cite><!-- END quote_username_post_open -->
When we set to show the post's date, the instruction
$replace[$user->lang('IN')] = strtolower($user->lang('ON'));
included in "includes/bbcode.php"
causes that every occurrence of "in" between
<a href="{QPBL_POST}" title="{QPBL_TITLE}">
and the closing tag
</a>
are replaced by "ON". As example:
<blockquote><div><cite>{USERNAME} {L_WROTE} {L_IN} <a href="{QPBL_POST}" title="{QPBL_TITLE}"> index</a>
generates that output:
user wrote ON 26/02/2009, 14:02 ONdex:
I found it trying to build a backlink with an image, whose name contained "in"
<img src="interessant_image" />
becomes
<img src="ONteressant_image" />
I could easily bypass the problem but I'd like first to know from you if it's normal.
Thank you in advance for your assistance!
Hi again Erik, just to notify to you that in the 2.0.0.5 install file instructions there are some lines to find and replace that are not complete.
A little question, too:
The line in "includes/bbcode.php"
$replace[$user->lang('IN')] = strtolower($user->lang('ON'));
shouldn't be the following instead?
$replace[$user->lang('IN')] = strtolower($user->lang('POSTED_ON_DATE'));
Thank you very much!
If someone removes the post_id in the quote (the ;p=1234) he will receive an sql error when viewing that post, because of some "post_id = " statement missing the value for post_id. You can add the following code after the code block for "// Disabled?"
// No post_id ?
if ($post_id == '')
{
return $this->bbcode_second_pass_quote($username, $quote);
}
I've installed latest version.
But when qpbl is on, in topic is missing opening <'blockquote> <'div>tags, causing displacement of elements.
Where could be the problem?
i have a problem with multi-quote, when quote inside dont have ;p=xxx
eg:
i quote:
[quote="user1";p=001][quote="user2"]
content 1[/quote]
content 2[/quote]
it show:
user1";p=001][quote="user2 wrote:
content 1
content 2[/quote]
hi, :)
i have a another problem, i tested quote with 3 method:
2 & 3 work great, but method 1 is show:
[quote]aha[/quote]
i cant see "h" character begin that word...
_ if i try use:
[code][quote]
haha[/quote][/code]
mean: enter word to new line, its work normal...
& when i go to edit that post, i still show
[code][quote]haha[/quote][/code]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.