![]() |
Great hack; I customized it pretty heavily to add support for private messages, message preview, and to respect bbcode-disabled flags. I also think that this will work no matter what font is currently in use, and it will never generate non-XHTML-compliant output (even when tags are badly overlapped).
[high]* Edgewize clicks install because without Erwin, I'd never have started! [/high] I put the following a file called hack_me.php: (NOTE: had to mangle the color tags to get it to post right. replace Xcolor with color in six places!) Code:
<?php Code:
@include('hack_me.php'); Code:
includes/functions_bbcodeparse.php around line 323, immediately after: (Note: to change the color, change the three color tags in hack_me.php) First post, baby! And hello Erwin, I totally forgot that you post here as well as at EV1servers :) |
I'm still have problems with the different fonts (as you can see in the thread link below). Any idaes how to fix this?
http://www.bearfacts2.com/forums/showthread.php?t=437 |
Quote:
think of users using. Example i post a message like: [you] is a nice member When rest of members of board read that message it. it appears to them as [Member Reasing the post name] is a nice member ;) what do u think ?? |
Quote:
|
i didn't manage to get a answer for you boofo :/
I guess it doesn't work in my private forum... But hey, you made some real cool mods on your board :D |
Quote:
Thank you for the kind words. Glad to have you aboard. ;) |
Installed on RC4, works like a charm
Well that is, it works fine in a new thread and new reply. Works fine in quoting a post with a /me in it. Doesn't work when you edit the orig /me post, you loose the username then. But you can always add /me befor eit again. Plus editting is not done often. [high]* BBQ is happy but he already installed this on beta 7 and pressed install a few pages in this thread back :p[/high] |
Quote:
i had installed the YOU tag on ipb :) i administrate my forums, and i know what are default places where that thing should be visible ;) Sandy... |
|
Quote:
But hey, i'm glad to have guyz like you aboard :D Keep up the good work ;) |
FYI, PMs and editing work properly in my reorganized version of Erwin's most excellent hack.
|
Same here. Thank you very much, sir. ;)
I still can't get the different fonts to work right though with or without your code. :( |
Oh... for a while, I wasn't able to reproduce your problem Boofo, but now I think I got it!
I re-edited my post and changed some of the lines in hack_me.php, give that a shot... |
Thank you, sir, that made a big difference. ;)
There is still one small problem. The link below is how it looks now. The first post still has a problem if there is a line of text before it for some reason. Otherwise, it works great! http://www.bearfacts2.com/forums/sho...=1296#post1296 Also, you need to add color to the second line in the hack_php.file for quoting the pms. If there is no color in there, the quoted pms don't show color (as you are replying to the message). ;) |
I think that in your second line, the font is changing between the / and the "me". Not sure if I can really support that. Just don't do it! *grin*
As for the color, I actually like it better when the quoted lines don't have color, because in my postbit it looks confusing (at a glance, its hard to tell if the /me belongs to the quoted post or the reply). You can always change the preg_replace line to put the [color] back in, as you've done :D |
Is there a way to parse the line if it has the /me code in it anywhere? They had that for vb2 and it was great. ;)
|
Quote:
EDIT I did notice that when you go to edit the post, it parses the default font line but not the rest. Like this: Quote:
|
Quote:
|
Any one figure out my problem?
|
Quote:
https://vborg.vbsupport.ru/showthrea...334#post484334 |
Quote:
|
Tested and works fine on vbb3 gold!
Small change though... in includes/functions_bbcodeparse.php instead of looking for this PHP Code:
PHP Code:
|
/me wonders if someone would be so kind to release this as a .htl file
|
Quote:
Frugal |
Instead of. ;)
|
Quote:
[high]* Frugal is now stumped.[/high] Frugal |
It works great for me, I'm not sure what could be happening on your site. Wish I could give you some sort of an answer. :(
|
Where does the hack_me.php go? Is it the forum root, or the includes dir? I'm guessing the problem is in this file somewhere as the other 3 files each only need one minor edit which I have checked to be correct.
Frugal |
Hmm Erwins version works but I can't get the one by Edgwize to work for love nor money :(
Frugal |
The hack_me.php file does in the forum root. ;)
It's wierd that it doesn't work for you. I couldn't get Erwin's version to work right but the hack_me version fixed everything. ;) |
Problem solved and surprisingly simple. Changed first line of hack_me.php from
<? to <?php Frugal |
Quote:
|
nevermind, seems to work in quick replies now...
|
/me clicks install
easiest hack ive ever doen and works fine as well nice one erwin |
/me installs
|
Quote:
Frugal |
Sounds to me like you have something else going on somewhere interfering with this hack then. I have never run into that anywhere on my forum. All threads view fine. There's really no way that it can cause any threads not to view. All he is parsing in the hack is the /me code. :surprised:
|
Dunno, it's probably clashing with another hack, but either way it causes problems for me. With Erwins version all threads open fine, with Edgewizes about 4 threads showed as blank pages.
Frugal |
Is that what you were testing on my site? You said it didn't work. What did you try to do?
|
Quote:
This is one of the posts it didn't like http://forums.frugalsworld.com/vB/showthread.php?t=25598 *you need to copy and paste the url into a browser and change vB to v b b (without the spaces) Funny enough I think all of the problem posts had a url with /me in it somewhere in the post, coincidence? Frugal |
All times are GMT. The time now is 04:19 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|