![]() |
The mod is great!
However it doesn't work with the "Hide Links From Guest" mod: https://vborg.vbsupport.ru/showthread.php?t=123415 Guests are able to see the links in the ajax post. Anything I can do to make it work? |
Quote:
It's something I can look at when I get some time. |
Quote:
|
In one of the plugins for the link hack, you'll most likely find a bit of code that does all the processing you're looking for. Something that uses a regexp to match for http then replaces it with the specified phrase.
Taking that bit of code, and placing it in vbpost_ajax.php where the message text is retrieved should yield the desired result. |
Amazing
|
Quote:
Code:
if (ereg("(showthread)", $GLOBALS[vbulletin]->scriptpath)) |
Yep, that looks like it. I had hoped it would've been contained within a function, as that would've been ideal -- however, that will work.
Try this: Open up vbpost_ajax.php, look for: PHP Code:
PHP Code:
|
That worked except it blocked the links for everyone, not just guests. Anyway I can add a condition or something so it just blocks it for unregistered users only? Thanks for the help.
|
magnus.... could yo see my suggestion ? and is it possible?
|
Quote:
|
Quote:
PHP Code:
PHP Code:
|
You are seriously the best. I'll be sure to make a donation soon. Thanks!
|
Quote:
|
Works just great! Installed.
Damn I love AJAX! ;) |
after i uninstalled it, my "what's going on" on the forum page is slanted to the right.
here's the image http://i17.tinypic.com/4ke21sg.jpg |
Quote:
|
installed
but can i make the hack apear only to Registered Users and doesnt apear to Unregistered |
weird...had the original vefsion installed on my vb3.6.0 board...
but I FINALLY got around to updating it...and so updated this as well. problem is: for some reason the FIRST UNREAD and LAST post choices don't seem to work. FIRST post works. I want to use Last post. :( any suggestions? EDIT: nevermind. working now. ghost in the machine +_+ heh |
Quote:
See on my site, thanks. |
Quote:
|
Wow, man thanks alot it works awesome now :)
|
Is it possible to condense the clientscript/jquery.js file? Is every function in that library being used for this hack or is there a lot of fat in this code?
What functions in clientscript/jquery.js can we do without?????? I'm just sayin, 61k of js is a lot just to show the first post. |
Feel free to edit whatever you like from the jquery.js file. I can't distribute it if I modify it.
|
I've deleted my post, in hopes of eliminating all evidence that I am in fact retarded. :tin-foil-hat:
|
Quote:
JQuery offers a compressed version that you can download from the Google Gods here >> http://code.google.com/p/jqueryjs/do....1.3.1.pack.js jquery-1.1.3.1.pack.js works the same as the clientscript/jquery.js in the download for this hack, but it's only 1/3 the size. Just rename jquery-1.1.3.1.pack.js to jquery.js and overwrite the clientscript/jquery.js that came with this hack. The js file in the download is made for humans to read, develop and debug; the code I linked to is for production. If you're feeling saucy, you could even trim that one down a bit. When you go through 300 gigs a month, every little bit counts. P.S. Thanks for the great hack and quick response Magnus. :up: |
Nice hack dude.
One thing though, I install it, works fine on Default template. Doesn't show up on my custom template. Even did the template edits (turned off auto edits too). Still nothing. :( |
Quote:
|
Quote:
I'll look at that, thanks. :) |
Quote:
|
Quote:
|
I installed it on a test forum and the "+" doesn't show .. I don't have ` custom image folder tho and I cross checked that all files are on the server :(
|
When I do a search for new posts and the results are returned,(Don't know the actual template) I click on the + and it shows the first post instead of last. In FORUMDISPLAY when I click the + the last post is showed like it should be. I have it set to show Last post. Has this been a problem for anyone else?
Thanks for this great mod. |
Quote:
|
Quote:
If you can answer yes to 1 and 3.6.x to 2, I'll need your forum URL before I can do much more. |
Quote:
|
Quote:
Quote:
TIA, C |
I love this mod! Thank you so much...
Installed it right away.. |
I just updated this hack, now the +/- box shows on a black line above the thread title instead of on the same line. Any idea how to revert this?
|
thanks much!
|
Cool mod but it doesn't seem to be expanding on my board. See my .sig. Please let me know what I am doing wrong.:)
|
All times are GMT. The time now is 01:53 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:
|