View Full Version : Show Thread Enhancements - Ajax Thread (1stPost) Preview 1.5 Gold
SkyCatcher
02-03-2007, 10:00 PM
I have abandoned this modification as I find myself lacking time to do any additional modifications to get it 100% stable.
I would highly recommend that you check out this hack by magnus, as this one seems to be 100% AND looks great. I fell in love with it so I am using it myself :o
The only thing it doesn't do is give you a preview of the attachments, so you're welcome to keep the attachments part of this hack and use it in conjunction with magnus' hack.
I may just rewrite the attachments part of this hack and re-release it as a standalone.
Here is the link to his modification:
Collapsable First Post using AJAX (or Last Post!)
https://vborg.vbsupport.ru/showthread.php?t=145187
-Sky-
SkyCatcher
02-04-2007, 08:00 PM
FAQ
Question: How can I reposition the window?
Edit the ajax_postpreview.js file.
Find this bit of code:
posToCenter = function(elem) {
var scrollPos = new getScrollPos();
var pageSize = new getPageSize();
var emSize = new getElementSize(elem);
var x = Math.round(pageSize.width/2) - (emSize.width /2) + scrollPos.scrollX;
var y = Math.round(pageSize.height/2) - (emSize.height /2) + scrollPos.scrollY;
elem.style.left = (x+400) +'px';
elem.style.top = (y+200) +'px';
}
x = right <-> left
y = up <-> down
You can use + or - values to adjust the position of the preview window.
Example(JUST an example):
elem.style.left = (x+200) +'px';
elem.style.top = (y-200) +'px';
Question: some reason it loads the whole thread! Not just the 1st post Answer:
This hack will NOT work with vbSEO since it doesn't use showthread.php in the URL anymore.
Question: I see the "Click Here to Close" code in the js file.
It there any way to have this shown at the top of the window instead of the bottom? Answer:
Find in ajax_postpreview.js
var strHTML = "<div id=\"ibox_w\" style=\"display:none;\"></div>";
strHTML += "<div id=\"ibox_progress\" style=\"display:none;\">";
strHTML += indicator_img_html;
strHTML += "</div>";
strHTML += "<div id=\"ibox_wrapper\" style=\"display:none;\">";
strHTML += "<div id=\"ibox_content\"></div>";
strHTML += "<div id=\"ibox_footer_wrapper\"><div id=\"ibox_close\" style=\"float:right;\">";
strHTML += "<a id=\"ibox_close_a\" href=\"javascript:void(null);\" >Click here to close</a></div>";
strHTML += "<div id=\"ibox_footer\"> </div></div></div></div>";
Replace with:
var strHTML = "<div id=\"ibox_w\" style=\"display:none;\"></div>";
strHTML += "<div id=\"ibox_progress\" style=\"display:none;\">";
strHTML += indicator_img_html;
strHTML += "</div>";
strHTML += "<div id=\"ibox_wrapper\" style=\"display:none;\">";
strHTML += "<a id=\"ibox_close_a\" href=\"javascript:void(null);\" >Click here to close</a>";
strHTML += "<div id=\"ibox_content\"></div></div>";
strHTML += "</div></div>";
Question: when I double click in the thread title to involk the AJAX title editting, instead of the title of the thread becoming editable the small mousover image is replaced with an edit window which has the html code Answer:
If you installed v1.3 before I got to update the zip and you have this problem, follow these steps:
Find in Threadbit:
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]" onmouseover="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar/menu_open.gif" border="0"></td>
</if>
REPLACE WITH
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" onmouseover="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></td>
</if>
Question: Many of my threads are quite long and with auto-resize the user has to scroll the entire main window as it extends far down. If I set a defined size, the window is the proper size but there are no internal scroll bars to scroll down within that window. Am I missing something or is that a limitation? Answer:
You can define a set height and width here (in the JS file)
//if(params['height']) {ibox.style.height = params['height']+'px';}
//else {ibox.style.height = '380px';}
//if(params['width']) {ibox.style.width = params['width']+'px';}
//else {ibox.style.width = '800px';}
Just change to
//if(params['height']) {ibox.style.height = params['height']+'px';}
//else {ibox.style.height = '380px';}
ibox.style.height = '480px';
//if(params['width']) {ibox.style.width = params['width']+'px';}
//else {ibox.style.width = '800px';}
Adding a set height to 480 in the example above. A scrollbar will show for the up/down scrolling if the post is taller than that.
And also set:
height:45%;
in the CSS file for ibox_content
Question: Anyway i can change the Click here to close to a GIF button instead? Answer:
[I]THANK YOU TO RMS-Chef (https://vborg.vbsupport.ru/member.php?u=39375) FOR THIS:
I also made the close preview link a button image instead with this alteration (replace images/buttons/preview_close.gif with your own picture):
var strHTML = "<div id=\"ibox_w\" style=\"display:none;\"></div>";
strHTML += "<div id=\"ibox_progress\" style=\"display:none;\">";
strHTML += indicator_img_html;
strHTML += "</div>";
strHTML += "<div id=\"ibox_wrapper\" style=\"display:none;\">";
strHTML += "<div id=\"ibox_content\"></div>";
strHTML += "<div id=\"ibox_footer_wrapper\"><div id=\"ibox_close\" style=\"float:right;\">";
strHTML += "<a id=\"ibox_close_a\" href=\"javascript:void(null);\" ><img src=\"images/buttons/preview_close.gif\" border=\"0\"></a></div>";
strHTML += "<div id=\"ibox_footer\"> </div></div></div></div>";
Question: How do I change it to click the image in the left column than have it invoked with the mouseover?Answer: No problem.
In THREADBIT Template find:
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" onmouseover="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></td>
</if>
and REPLACE with:
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="#nbsp;" onclick="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></a></td>
</if>
projectego
02-04-2007, 08:09 PM
Wow, this looks awesome. Thanks, SkyCatcher! ;)
SCRIPT3R
02-04-2007, 08:12 PM
Awesome!
Paul M
02-04-2007, 08:18 PM
Might I suggest you change the title to "Thread Preview" rather than post, since that is what it is doing. :)
SCRIPT3R
02-04-2007, 08:25 PM
suggestions...
limit preview to Message BODY only in effort to conserve bandwidth as much as possible.
resizeable (AdminCP defineable) popup preview.
insert space prior to and edit text "Loading content preview, please wait..."
SkyCatcher
02-04-2007, 08:25 PM
Might I suggest you change the title to "Thread Preview" rather than post, since that is what it is doing. :)
I ... I guess you're previewing the thread... but you're previewing the first post of that thread...um....
Well since you have the pitchfork I suppose I'll take that into considderation :D
bashy
02-04-2007, 08:36 PM
great idea, will try this tomoz :)
I would say the title is correct as your only preview 1 post not the thread :p
Terminatoronly
02-04-2007, 08:36 PM
Nice Work Mate Really Nice I Will Use It :D
DasCool
02-04-2007, 08:44 PM
i am finding a couple of things, i really don't know how to fix it. For some reason i want the Preview to pop up in the middle. However it actually opens all the way to the right and i have to scroll over. I dont know if this is a bug but The time is abit off too. Some times i will get the full 8 seconds and sometimes i will only get a sec of preview. Also, it seems to be Transparent like when i select it if there is a forum name under it then it gets mixed in with the writing
DasCool
02-04-2007, 09:02 PM
here is what i mean
blogtorank
02-04-2007, 09:25 PM
Perfect.......... However, you should put in there Import product in the install.txt file to be more exact but overall perfect hack for the "Thread Preview" (Pitchfork Paul)
SkyCatcher
02-04-2007, 10:07 PM
i am finding a couple of things, i really don't know how to fix it. For some reason i want the Preview to pop up in the middle. However it actually opens all the way to the right and i have to scroll over. I dont know if this is a bug but The time is abit off too. Some times i will get the full 8 seconds and sometimes i will only get a sec of preview. Also, it seems to be Transparent like when i select it if there is a forum name under it then it gets mixed in with the writing
I'm not sure what is happening there :o I can't seem to emulate the problem on any of my forums and I've double checked to make sure, and none of the windows are transparent.
The time thing can get screwy if the script loads too many times, too quickly. Then you can simply refresh the page and the timer should work again.
Like I said, JS... doesn't always want to do what I want to do :/
About the positioning, it's always going to display to the right and a little below the thread. If I include a css file you "may" be able to position it in the center of the screen, but I'm not positive on this yet so I'll play with it over the next couple of days.
marcsmith73
02-04-2007, 10:16 PM
It is haveing a problem reading any thread with Polls in them.
SkyCatcher
02-04-2007, 10:21 PM
It is haveing a problem reading any thread with Polls in them.
Mine looks like this ...
DasCool
02-04-2007, 10:54 PM
I'm not sure what is happening there :o I can't seem to emulate the problem on any of my forums and I've double checked to make sure, and none of the windows are transparent.
The time thing can get screwy if the script loads too many times, too quickly. Then you can simply refresh the page and the timer should work again.
Like I said, JS... doesn't always want to do what I want to do :/
About the positioning, it's always going to display to the right and a little below the thread. If I include a css file you "may" be able to position it in the center of the screen, but I'm not positive on this yet so I'll play with it over the next couple of days.
i dont know if u saw the pic i attatched, it aint really transparent. You can just see any buttons below. Ya i would def like it alot if it could open up in the center instead of to the right. I like it so far though
sait.dogan
02-04-2007, 11:46 PM
This looks awesome. Thanks, SkyCatcher!
SCRIPT3R
02-05-2007, 12:40 AM
any thoughts on these suggestions?
suggestions...
limit preview to Message BODY only in effort to conserve bandwidth as much as possible.
resizeable (AdminCP defineable) popup preview.
insert space prior to and edit text "Loading content preview, please wait..."
Mr Chad
02-05-2007, 01:00 AM
some reason it loads the whole thread:
http://beasttoast.com/forum/f13/
SkyCatcher
02-05-2007, 01:58 AM
any thoughts on these suggestions?
Edit ajax_postpreview-dynamic-content.js and edit the text:
document.getElementById(divId).innerHTML = 'Loading content - please wait';
As far as the other two go, probably not, but I am leaning towards a possible css although it's going to change the look and feel of the hack. It's 4:55am in Germany so let me get some sleep first ;)
some reason it loads the whole thread:
http://beasttoast.com/forum/f13/
You're using some kind of redirect modification. It's not going to work because this hack is telling it to use showthread_ajax.php for the preview but it's instead, being redirected to showthread.php, essentially showing you a popup of showthread with all the posts.
I don't think there's any workaround for this unless you can somehow exclude a url or file from redirecting :/
Which hack are you using for redirects? I'll take a look but I'm 99% sure it won't work.
Mr Chad
02-05-2007, 02:39 AM
Edit ajax_postpreview-dynamic-content.js and edit the text:
document.getElementById(divId).innerHTML = 'Loading content - please wait';
As far as the other two go, probably not, but I am leaning towards a possible css although it's going to change the look and feel of the hack. It's 4:55am in Germany so let me get some sleep first ;)
You're using some kind of redirect modification. It's not going to work because this hack is telling it to use showthread_ajax.php for the preview but it's instead, being redirected to showthread.php, essentially showing you a popup of showthread with all the posts.
I don't think there's any workaround for this unless you can somehow exclude a url or file from redirecting :/
Which hack are you using for redirects? I'll take a look but I'm 99% sure it won't work.
i dont have any redirect hacks installed. It loads the header/footer is there any way to make it just load the post in a nice little table.
NitroXploit
02-05-2007, 03:26 AM
If you could add/remove permissions to the usergroups that would be great!
Nice Hack.
Bad Bunny
02-05-2007, 04:07 AM
It doesn't seem to do anything in Safari (default browser for macs). In fact, it takes away the normal preview on hover. Maybe a conditional to detect safari and use the old preview, so at least it doesn't lose functionality for many people.
mktrilogy
02-05-2007, 05:04 AM
the timing option should be controlled in the admincp, is it possible? thanks :)
sensimilla
02-05-2007, 05:05 AM
Outstanding I was looking for such hack since long time.
Is there a chance to preview just image attached instead of whole post ?
That would be awesome! Thanks in advance.
Keep up the good work!
D.Ilyin
02-05-2007, 05:39 AM
SkyCatcher WOW!!!!!!!!!!!!!!!!!
THANKS!!!!! Installed and nominate!
It's a real need vB own function :)
If u can add some futures to it it will be more USEFULL :)
1. UGPermisions to use this hack
2. Buttons "<<", "<", ">", ">>" - move to "First", "Previous", "Next", "Last" message. (example you can see here (http://forum.ru-board.com/forum.cgi?forum=62). Just mouse over on a thread picture).
3. Forum's ID for exclude from this hack.
mktrilogy
02-05-2007, 06:47 AM
can this be mod to just show the images? Like the first thre images or thumbnails of the first post? that would save to much bandwidth.
or at least just show the text with the thumbnails of image :)
thanks.
Distance
02-05-2007, 07:16 AM
I ... I guess you're previewing the thread... but you're previewing the first post of that thread...um....
Well since you have the pitchfork I suppose I'll take that into considderation :D
A thread is the 'first post' the rest are just replies
Snake
02-05-2007, 08:09 AM
Wow thanks for this!
cutoi
02-05-2007, 09:03 AM
Installed. Tks
SkyCatcher
02-05-2007, 09:05 AM
*Takes a deep breath*
If you could add/remove permissions to the usergroups that would be great!
Will implement
It doesn't seem to do anything in Safari (default browser for macs). In fact, it takes away the normal preview on hover. Maybe a conditional to detect safari and use the old preview, so at least it doesn't lose functionality for many people.
Oh wow :/ I'm 0 percent Mac literate :( I'll have to do some googling to see if that can be fixed.
the timing option should be controlled in the admincp, is it possible? thanks :)
Tried it once but failed, will try again ^^
Is there a chance to preview just image attached instead of whole post ?
I'll keep this in mind.
SkyCatcher
If u can add some futures to it it will be more USEFULL :)
2. Buttons "<<", "<", ">", ">>" - move to "First", "Previous", "Next", "Last" message. (example you can see here (http://forum.ru-board.com/forum.cgi?forum=62). Just mouse over on a thread picture).
3. Forum's ID for exclude from this hack.
2) Not sure if I want to do this as it's only meant to be a preview.
3) Will implement.
Ok, looks like there's some things to work on so I'll get back to everyone with an update soon.
Allan
02-05-2007, 09:34 AM
Great idea :)
Click Install of course ;)
D.Ilyin
02-05-2007, 11:00 AM
2. Buttons "<<", "<", ">", ">>" - move to "First", "Previous", "Next", "Last" message. (example you can see here. Just mouse over on a thread picture).Not sure if I want to do this as it's only meant to be a preview. :(
But promise me, that u'll think about it :) .... Becouse It's very simple and easy to browse thread with preview all messages.
And another improvements:
1. Option to display\hide user profile.
2. Option to display\hide user signature.
GruntHalo
02-05-2007, 12:16 PM
Thanks! Installed... :D
Smoothie
02-05-2007, 12:58 PM
I can confirm the above post. This does nothing when viewing on a Mac except take away the preview text.
Bad Bunny
02-05-2007, 01:17 PM
There is an if_browser condition, and you can set it to safari...I can test it on other mac browsers, too...but it SHOULD work in firefox, right?
EDIT> Well, for whatever odd reason, this doesn't work with firefox for mac either...so it sounds like it uses some funky html. And I don't think there is any conditional to check for an operating system. So you're essentially stripping functionality from a whole demographic.
I hope you find some help in figuring it out.
Smoothie
02-05-2007, 01:18 PM
Not worky on any of my browsers, Camino, Safari, FF. OS X 10.4.8
Smoothie
02-05-2007, 01:20 PM
Add Opera to that list
SkyCatcher
02-05-2007, 02:07 PM
Updated. Please check the new files and get back to me :)
Smoothie
02-05-2007, 02:09 PM
Updated. Please check the new files and get back to me :)Do you have the update installed on your forum?
SkyCatcher
02-05-2007, 02:22 PM
Bah, I've you've downloaded it within the last 2 minutes, redownload as the header instructions were faulty.
DasCool
02-05-2007, 02:49 PM
Bah, I've you've downloaded it within the last 2 minutes, redownload as the header instructions were faulty.
Thanks, this works alot better but for some reason the color carried over. By that i mean when i preview my thread there is a big blob of color from your forum
SkyCatcher
02-05-2007, 02:51 PM
Thanks, this works alot better but for some reason the color carried over. By that i mean when i preview my thread there is a big blob of color from your forum
LOL, well I can assure you the color didn't attach itself to the hack and piggyback into your forums :P My colors are all accounted for :D
Look in the ajax_postpreview.css file and edit the background color there. It's explained in the modification.txt file.
DasCool
02-05-2007, 02:53 PM
LOL, well I can assure you the color didn't attach itself to the hack and piggyback into your forums :P My colors are all accounted for :D
Look in the ajax_postpreview.css file and edit the background color there. It's explained in the modification.txt file.
haha ya i was gona post right now, i fixed it
Smoothie
02-05-2007, 06:53 PM
Edit, tested on a test forum and it works with all Mac browsers. Safari, Camino, FireFox, Opera, Netscape.
AMG021
02-05-2007, 08:48 PM
followed all the steps and it not working for me
:(
Using ff 2.0 win xp
I even went to ur website to check didn't work
SkyCatcher
02-05-2007, 09:05 PM
followed all the steps and it not working for me
:(
Using ff 2.0 win xp
I even went to ur website to check didn't work
All products are disabled on the website in my sig right now.
Tell me what you did and I'll see if you missed anything (I know, sounds stupid but sometimes you miss little things)
My dev board still has the hack active although it's not adjusted for that forum.
http://www.probehosting.eu/vb36
test/test
Bad Bunny
02-05-2007, 09:13 PM
Edit, tested on a test forum and it works with all Mac browsers. Safari, Camino, FireFox, Opera, Netscape.
That's awesome news! Very glad to hear this.
AMG021
02-05-2007, 09:49 PM
OK. Installed the product, edit templates and uploaded the files.
Btw doesn't work on that test forum too :(
SkyCatcher
02-05-2007, 10:02 PM
Btw doesn't work on that test forum too :(
It works fine on the test forum.... did you remember to log in? By default it's disabled for guests.
If you did log in and still didn't see anything you need to doublecheck your java settings and make sure that you have java installed.
I'm running Vista with IE and FF2 and it has no problems with either browser.
mktrilogy
02-05-2007, 10:19 PM
can this be mod to just show the images posted of the first post ? Just the first 3 images and if possible a little text :) or something like this maybe,
https://vborg.vbsupport.ru/showthread.php?t=135191
AMG021
02-05-2007, 10:35 PM
ok fixed i did miss a step. Just a question. umm how do i make this for the first thread ?
DasCool
02-06-2007, 02:14 AM
I spend like half an hour trying to get rid of the white space but it doesnt work. Is there a way that it can be made to adapt? So if there is alot of text instead of having to scroll it can just open up to the size of the text. Here is what i am having trouble with too. Thanks
SkyCatcher
02-06-2007, 06:42 AM
I spend like half an hour trying to get rid of the white space but it doesnt work. Is there a way that it can be made to adapt? So if there is alot of text instead of having to scroll it can just open up to the size of the text. Here is what i am having trouble with too. Thanks
Explained in the modification.txt
Set the padding:0px; and that will remove the overlap to the bottom of the screen.
I've attached another zip called autoresize.zip. Try using that.
What it does, is it autoresizes the box to the user's screen and shows the complete post.
It's still moved to the right side, but you can change that to the center if you like.
I've also removed the background, if you'd like to enable it again, just add a
background:#FFFFFF;
for example.
There's a lot you can do with it, it's just a matter of customizing it.
SkyCatcher
02-06-2007, 07:15 AM
Just a question. umm how do i make this for the first thread ?
I'm not sure what you're asking me...
can this be mod to just show the images posted of the first post ? Just the first 3 images and if possible a little text :) or something like this maybe,
https://vborg.vbsupport.ru/showthread.php?t=135191
DUUUUUUUDE! I'm working on it, LOL. I haven't forgotten about you, just been working on the latest release. Still have work to go to so....patience :P
Displaying the message body/attachments, etc will be next on my to do list
mktrilogy
02-06-2007, 08:17 AM
I'm not sure what you're asking me...
DUUUUUUUDE! I'm working on it, LOL. I haven't forgotten about you, just been working on the latest release. Still have work to go to so....patience :P
Displaying the message body/attachments, etc will be next on my to do list
Thanks. I thought u skip my suggestion. THis is the coolest hack ever :) thanks.
aceofspades
02-06-2007, 08:31 AM
It might also be a cool idea to have a new column with a preview icon, so when you click on it it displays a preview of the first post instead of using the threads text.
Anyway, great hack, keep up the good work.
DasCool
02-06-2007, 01:00 PM
Explained in the modification.txt
Set the padding:0px; and that will remove the overlap to the bottom of the screen.
I've attached another zip called autoresize.zip. Try using that.
What it does, is it autoresizes the box to the user's screen and shows the complete post.
It's still moved to the right side, but you can change that to the center if you like.
I've also removed the background, if you'd like to enable it again, just add a
background:#FFFFFF;
for example.
There's a lot you can do with it, it's just a matter of customizing it.
You are awesome :)
SkyCatcher
02-06-2007, 02:39 PM
It might also be a cool idea to have a new column with a preview icon, so when you click on it it displays a preview of the first post instead of using the threads text.
Anyway, great hack, keep up the good work.
Thought about that too for those that find hovering over the thread too annoying.
Will integrate one way or another :cool:
Smoothie
02-06-2007, 03:12 PM
I think a user option to show or hide this, because some might find it useful and the majority might find it annoying. Just my opinion.
Mupetz
02-06-2007, 03:21 PM
Damn, it shows whole the page from the header to footer with header donation button , footer flash player distorted.
Thank you for the hack but uninstalled. I'm way too customized for this one too :)
SkyCatcher
02-06-2007, 03:42 PM
Damn, it shows whole the page from the header to footer with header donation button , footer flash player distorted.
Thank you for the hack but uninstalled. I'm way too customized for this one too :)
It only works if you're using the regular VB urls like:
http://www.site.com/showthread.php?t=xxx
and not with
http://www.site.com/somethread-dhajdk/
What exactly is it that makes the urls show up as text/named vs showthread.php? I've seen it on a few boards but it's not standard VB is it?
DasCool
02-06-2007, 03:42 PM
Anyway i can change the Click here to close to a GIF button instead?. I know what line needs to be changed but i dont know what code to put and how do i have a delay for say 3 sec. Thanks
SCRIPT3R
02-06-2007, 05:34 PM
Displaying the message body/attachments, etc will be next on my to do list
awesome... can't wait.
SkyCatcher
02-06-2007, 11:10 PM
Anyway i can change the Click here to close to a GIF button instead?. I know what line needs to be changed but i dont know what code to put and how do i have a delay for say 3 sec. Thanks
I can probably come up with something. I'm too tired to think right now so I'll look at it tomorrow.
What do you mean by 3 second delay? the button or the window staying open and then closing again?
DasCool
02-06-2007, 11:28 PM
I can probably come up with something. I'm too tired to think right now so I'll look at it tomorrow.
What do you mean by 3 second delay? the button or the window staying open and then closing again?
the window opening since i have to click really fast before the window opens otherwise i never get into the thread. So pretty much say you know a person wants to see what is in it if he has the mouse over for 3 sec.
SkyCatcher
02-06-2007, 11:30 PM
the window opening since i have to click really fast before the window opens otherwise i never get into the thread. So pretty much say you know a person wants to see what is in it if he has the mouse over for 3 sec.
I see you haven't upgraded to the newest version ;)
DasCool
02-07-2007, 12:10 AM
I see you haven't upgraded to the newest version ;)
ok this is not working :( i think i am doing something wrong
SCRIPT3R
02-07-2007, 12:13 AM
SkyCatcher... i'm going to PM you some code to take a look at for possible inclusion/modification. just ignore if you're not interested.
;)
SkyCatcher
02-07-2007, 12:35 AM
ok this is not working :( i think i am doing something wrong
Details! lol. What exactly isn't working? i.e. What's the problem?
-uploaded all the new files to the proper directory?
-did all the template edits?
-imported the product and made sure to select Overwrite: Yes?
-hovered over the little arrow on the very left instead of the text? tried hovering over the paperclip also?
DasCool
02-07-2007, 12:38 AM
Details! lol. What exactly isn't working? i.e. What's the problem?
-uploaded all the new files to the proper directory?
-did all the template edits?
-imported the product and made sure to select Overwrite: Yes?
-hovered over the little arrow on the very left instead of the text? tried hovering over the paperclip also?
lol no wonder why i dont do good in school. I didnt know there were arrows now. I liked the hovering over thread better. However, this one works perfectly
Stoebi
02-07-2007, 06:04 AM
.... Sorry. Wrong window :(
Mupetz
02-07-2007, 09:39 AM
It only works if you're using the regular VB urls like:
http://www.site.com/showthread.php?t=xxx
and not with
http://www.site.com/somethread-dhajdk/
What exactly is it that makes the urls show up as text/named vs showthread.php? I've seen it on a few boards but it's not standard VB is it?
Oh, i didn't see that.
text/named vs showthread.php is made by vBSEO
kosen
02-07-2007, 12:09 PM
With this mod renaming a theme does not work!
Double cliques near a theme opens other field.
How it to correct?
SkyCatcher
02-07-2007, 12:21 PM
Whoops!
Find
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]" onmouseover="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></td>
</if>
REPLACE WITH
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" onmouseover="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></td>
</if>
kosen
02-07-2007, 12:47 PM
I thank you!
Now works correctly!
RMS-Chef
02-10-2007, 04:12 PM
I see the "Click Here to Close" code in the js file.
It there any way to have this shown at the top of the window instead of the bottom?
SkyCatcher
02-10-2007, 05:19 PM
I see the "Click Here to Close" code in the js file.
It there any way to have this shown at the top of the window instead of the bottom?
Replace in ajax_postpreview.js
var strHTML = "<div id=\"ibox_w\" style=\"display:none;\"></div>";
strHTML += "<div id=\"ibox_progress\" style=\"display:none;\">";
strHTML += indicator_img_html;
strHTML += "</div>";
strHTML += "<div id=\"ibox_wrapper\" style=\"display:none;\">";
strHTML += "<div id=\"ibox_content\"></div>";
strHTML += "<div id=\"ibox_footer_wrapper\"><div id=\"ibox_close\" style=\"float:right;\">";
strHTML += "<a id=\"ibox_close_a\" href=\"javascript:void(null);\" >Click here to close</a></div>";
strHTML += "<div id=\"ibox_footer\"> </div></div></div></div>";
With:
var strHTML = "<div id=\"ibox_w\" style=\"display:none;\"></div>";
strHTML += "<div id=\"ibox_progress\" style=\"display:none;\">";
strHTML += indicator_img_html;
strHTML += "</div>";
strHTML += "<div id=\"ibox_wrapper\" style=\"display:none;\">";
strHTML += "<a id=\"ibox_close_a\" href=\"javascript:void(null);\" >Click here to close</a>";
strHTML += "<div id=\"ibox_content\"></div></div>";
strHTML += "</div></div>";
RMS-Chef
02-10-2007, 06:37 PM
Thanks.
Another odd thing, I am not sure if this is related to prior template alterations but when I double click in the thread title to involk the AJAX title editting, instead of the title of the thread becoming editable the small mousover image is replaced with an edit window which has the html code for that image
<IMG src="http://domain.com/images/misc/menu_open.gif" border=0>
EDIT: Just saw posts 75 & 76 here, that fixed the above issue.
Also when there is a soft deleted thread the display is messed up as well for that row due to colspan somewhere not lining up.
SkyCatcher
02-10-2007, 06:39 PM
Thanks.
Another odd thing, I am not sure if this is related to prior template alterations but when I double click in the thread title to involk the AJAX title editting, instead of the title of the thread becoming editable the small mousover image is replaced with an edit window which has the html code for that image
<IMG src="http://domain.com/images/misc/menu_open.gif" border=0>
Also when there is a soft deleted thread the display is messed up as well for that row due to colspan somewhere not lining up.
I'll have to play with the colspan.
About the editing, it's explained in the 1st post of this thread (i.e. up top) where you remove a line of code.
RMS-Chef
02-10-2007, 06:50 PM
I'll have to play with the colspan.
About the editing, it's explained in the 1st post of this thread (i.e. up top) where you remove a line of code.
Thanks, I edited my previous post as you wrote that.
I am having trouble getting this to display to my liking though.
I would like to have the window a defined size while still remaining scrollable. Many of my threads are quite long and with auto-resize the user has to scroll the entire main window as it extends far down. If I set a defined size, the window is the proper size but there are no internal scroll bars to scroll down within that window. Am I missing something or is that a limitation?
SkyCatcher
02-10-2007, 07:01 PM
Thanks, I edited my previous post as you wrote that.
Many of my threads are quite long and with auto-resize the user has to scroll the entire main window as it extends far down. If I set a defined size, the window is the proper size but there are no internal scroll bars to scroll down within that window. Am I missing something or is that a limitation?
You can define a set height and width here (in the JS file)
//if(params['height']) {ibox.style.height = params['height']+'px';}
//else {ibox.style.height = '380px';}
ibox.style.height = '380px';
//if(params['width']) {ibox.style.width = params['width']+'px';}
//else {ibox.style.width = '800px';}
Just change to
//if(params['height']) {ibox.style.height = params['height']+'px';}
//else {ibox.style.height = '380px';}
ibox.style.height = '480px';
//if(params['width']) {ibox.style.width = params['width']+'px';}
//else {ibox.style.width = '800px';}
Adding a set height to 480 in the example above. A scrollbar will show for the up/down scrolling if the post is taller than that.
Oh sorry, and also set:
height:45%;
in the CSS file for ibox_content
lovelypk
02-10-2007, 07:13 PM
After installing this addon, It mess up forum.
Have a look at it:
60353
It only happens when i make the 'threadbit' template changes you specified in installation file.
Any help is Appreciated.
SkyCatcher
02-10-2007, 07:20 PM
After installing this addon, It mess up forum.
Have a look at it:
60353
It only happens when i make the 'threadbit' template changes you specified in installation file.
Any help is Appreciated.
Did you do BOTH Forumdisplay template edits?
lovelypk
02-10-2007, 07:33 PM
Did you do BOTH Forumdisplay template edits?
Yes, i did.
SkyCatcher
02-10-2007, 07:53 PM
hmm. Well the problem is in the forumdisplay template. You did install the product file right?
<if condition="$show['threadicons'] && !is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
Try playing with that conditional, for some reason all of them are not returning true.
It checks:
- ThreadIcons are on
- Your Usergroup is not in the usergroups you added to the exclude list
- Makes sure the hack is turned on
- and the forumID is not in the excluded list
only if ALL those return true it sets the colspan to 3 (which is what you need here).
Add the following under $navbar in the FORUMDISPLAY template to check if all the conditions return true:
<if condition="$show['threadicons']">Icons: True
<br />
<else />
Icons: False
<br />
</if>
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups)">Not in Excluded Group: True
<br />
<else />
Not in Excluded Group: False
<br />
</if>
<if condition="$vbulletin->options[ajaxpostpreview_enable] == 1">
Mod Enabled: True
<br />
<else />
Mod Enabled: False
<br />
</if>
<if condition="(!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
Forum Not Excluded: True
<br />
<else />
Forum Not Excluded: False
<br />
</if>
If they're not all true, it won't span 3 columns.
JohnBee
02-10-2007, 07:54 PM
After installing this addon, It mess up forum.
Have a look at it:
60353
It only happens when i make the 'threadbit' template changes you specified in installation file.
Any help is Appreciated.
I get the identical results. It's obviously conflicting with another hack. (thread prefixes perhaps?)
JohnBee
02-10-2007, 07:57 PM
hmm. Well the problem is in the forumdisplay template. You did install the product file right?
<if condition="$show['threadicons'] && !is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
Try playing with that conditional, for some reason all of them are not returning true.
It checks:
- ThreadIcons are on
- Your Usergroup is not in the usergroups you added to the exclude list
- Makes sure the hack is turned on
- and the forumID is not in the excluded list
only if ALL those return true it sets the colspan to 3 (which is what you need here).
Add the following under $navbar in the forumhome template to check if all the conditions return true:
<if condition="$show['threadicons']">Icons: True
<br />
<else />
Icons: False
<br />
</if>
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups)">Not in Excluded Group: True
<br />
<else />
Not in Excluded Group: False
<br />
</if>
<if condition="$vbulletin->options[ajaxpostpreview_enable] == 1">
Mod Enabled: True
<br />
<else />
Mod Enabled: False
<br />
</if>
<if condition="(!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
Forum Not Excluded: True
<br />
<else />
Forum Not Excluded: False
<br />
</if>
If they're not all true, it won't span 3 columns.
Icons: False
Not in Excluded Group: True
Mod Enabled: True
Forum Not Excluded: True
SkyCatcher
02-10-2007, 08:03 PM
bah! I meant FORUMDISPLAY, sorry :(
JohnBee
02-10-2007, 08:12 PM
bah! I meant FORUMDISPLAY, sorry :(
Okay thanks for the correction. - I think I found the error :)
Find: (DO THIS TWO TIMES IN THE TEMPLATE)
Darned ADHD!
Icons: True
Not in Excluded Group: True
Mod Enabled: True
Forum Not Excluded: True
It looks like something is working now, whenever I hover over the down arrow, I get a message:
NOT FOUND!
The requested document cannot be found on this server
Web Server at myforums.net
Any ideas?
JohnBee
02-10-2007, 08:15 PM
Okay it's working now. I had a permission issue with a few files on my server.
Thanks for your help :)
SkyCatcher
02-10-2007, 08:16 PM
ok cool. 1 down, 1 to go...
How goes it lovelypk?
JohnBee
02-10-2007, 08:18 PM
I really like this hack!
Things I would love to see...
1) Preview option from post title hover.
2) Quick reply to post click option.
3) Close on click anywheres away from window.
4) Previous / Next post (if available) < a guy can dream can't he ;)
Great work
RMS-Chef
02-10-2007, 08:31 PM
You can define a set height and width here (in the JS file)
//if(params['height']) {ibox.style.height = params['height']+'px';}
//else {ibox.style.height = '380px';}
ibox.style.height = '380px';
//if(params['width']) {ibox.style.width = params['width']+'px';}
//else {ibox.style.width = '800px';}
Just change to
//if(params['height']) {ibox.style.height = params['height']+'px';}
//else {ibox.style.height = '380px';}
ibox.style.height = '480px';
//if(params['width']) {ibox.style.width = params['width']+'px';}
//else {ibox.style.width = '800px';}
Adding a set height to 480 in the example above. A scrollbar will show for the up/down scrolling if the post is taller than that.
Oh sorry, and also set:
height:45%;
in the CSS file for ibox_content
Thanks, overall that helps with the usability in my situation.
SkyCatcher
02-10-2007, 08:38 PM
Mini-FAQ for common questions created to alleviate some of the questions from the start.
https://vborg.vbsupport.ru/showpost.php?p=1174725&postcount=2
RMS-Chef
02-10-2007, 09:00 PM
Mini-FAQ for common questions created to alleviate some of the questions from the start.
https://vborg.vbsupport.ru/showpost.php?p=1174725&postcount=2
I also made the close preview link a button image instead with this alteration (see red text):
var strHTML = "<div id=\"ibox_w\" style=\"display:none;\"></div>";
strHTML += "<div id=\"ibox_progress\" style=\"display:none;\">";
strHTML += indicator_img_html;
strHTML += "</div>";
strHTML += "<div id=\"ibox_wrapper\" style=\"display:none;\">";
strHTML += "<div id=\"ibox_content\"></div>";
strHTML += "<div id=\"ibox_footer_wrapper\"><div id=\"ibox_close\" style=\"float:right;\">";
strHTML += "<a id=\"ibox_close_a\" href=\"javascript:void(null);\" ><img src=\"images/buttons/preview_close.gif\" border=\"0\"></a></div>";
strHTML += "<div id=\"ibox_footer\"> </div></div></div></div>";
RMS-Chef
02-10-2007, 09:07 PM
Still having the colspan issue with soft-deleted threads (only staff can see it so it's not a huge issue right now).
There is also a minor colspan issue when there is an active Announcement in the forum.
SkyCatcher
02-10-2007, 09:08 PM
I also made the close preview link a button image instead with this alteration (see red text):
Awesome. Thank you very much for this. It's been added to the Faq
EDIT: Yeah, I'll have to go through a few pages to fix that. They don't use numbers like ="2" anymore.. instead they use a variable $threadcolumnspan or something like that so I'll have to track that down or add a plugin to increase it by 1. I'll be working on this again starting next week when I don't have to work every day.
RMS-Chef
02-10-2007, 09:11 PM
NP, not being a coder I do not know how difficult it would be but it would be awesome if allowed usergroups could set this ON/OFF on a per user basis.
And take your time. It is quite functional as is and a terrific idea.
Get your PayPal info setup here and I will toss you a few bucks. ;)
RMS-Chef
02-11-2007, 03:16 AM
Overall the most frequent feedback I am getting is people rather click the image in the left column than have it involked with the mouseover. They are getting lots of accidental activations.
SkyCatcher
02-11-2007, 11:41 AM
Overall the most frequent feedback I am getting is people rather click the image in the left column than have it involked with the mouseover. They are getting lots of accidental activations.
No problem.
In THREADBIT Template find:
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" onmouseover="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></td>
</if>
and REPLACE with:
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="#" onclick="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></a></td>
</if>
SkyCatcher
02-11-2007, 02:46 PM
v1.32 released. Just a minor update to fix the column span issues.
Announcements will still be 1 column short and I'll come up with something soon, but since there's no hook to intercept it it may take a while.
Simply follow the steps in the upgrade.txt file to upgrade. It's 1 template edit an re-installing the product with overwrite: yes to include another plugin.
RMS-Chef
02-12-2007, 12:51 AM
No problem.
In THREADBIT Template find:
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" onmouseover="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></td>
</if>
and REPLACE with:
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="#" onclick="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></a></td>
</if>
Thanks for the update.
I am still getting the same display with soft deleted threads.
Thanks for the edit to have the preview invoked with a click. The only problem with that is when I click the image it does open the preview but also moves the main page to the top. It is not real intuitive to be scrolled half way down a thread listing, click the button and have to scroll back down and find your place after closing the preview. Any way to get it to only open the preview while maintaining screen position in the main page/window with a mouse click?
SkyCatcher
02-12-2007, 01:02 AM
Almost there. ;)
The only problem with that is when I click the image it does open the preview but also moves the main page to the top. It is not real intuitive to be scrolled half way down a thread listing, click the button and have to scroll back down and find your place after closing the preview. Any way to get it to only open the preview while maintaining screen position in the main page/window with a mouse click?
It's 4 am so I won't be able to take a look right now but changing the mouseover to click isn't going to have an affect on that. Usually it's when you edit something in the JS file that's not really supposed to be removed or changed in that way.
PM me your JS file and I'll check it out when I wake up :)
RMS-Chef
02-12-2007, 09:12 PM
No problem.
In THREADBIT Template find:
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" onmouseover="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></td>
</if>
and REPLACE with:
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="#" onclick="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></a></td>
</if>
FYI.
SkyCatcher, you should edit the above in the post per your PM to me because the little alteration seems to have worked great. If you instead replace with:
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"><a href="#nbsp;" onclick="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></a></td>
</if>
It will open the preview with a mouse click on the icon rather than a mouseover and it seems to maintain it's current window position.
My last issue that I can see is secondary usergroups. I plan to use this as a feature for only staff and a vip usergroup. The vip group's users maintain registered (ID: 2) as their primary group and when they subscribe, the vip group is added as a secondary group. If I do NOT place the vip group as being excluded they still cannot view the preview since their primary group (registered: 2) is still blocking them. I am hoping there is a workaround like perhaps adding a ACP field of groups to ALLOW that will override the excluded if it is a secondary group or whatever...or something along those lines.
SkyCatcher
02-13-2007, 08:48 AM
My last issue that I can see is secondary usergroups. I plan to use this as a feature for only staff and a vip usergroup. The vip group's users maintain registered (ID: 2) as their primary group and when they subscribe, the vip group is added as a secondary group. If I do NOT place the vip group as being excluded they still cannot view the preview since their primary group (registered: 2) is still blocking them. I am hoping there is a workaround like perhaps adding a ACP field of groups to ALLOW that will override the excluded if it is a secondary group or whatever...or something along those lines.
That could be a problem. Right now it's checking all usergroups: primary + secondary and if a member is in one of the usergroups you've excluded then he/she can't use it.
i.e.
Exclude: 18,19,20
User's Primary usergroupid is 2
Users Secondary usergroupid is 19
=
User cannot access the preview.
and vice-versa.
I'll do some digging.
RMS-Chef
02-13-2007, 11:44 AM
That's why it may be better and more effective to have the ACP setting be groups that CAN use the hack.
It's just that I imagine the majority of boards run their user account upgrades this way so it could be a problem for many.
That could be a problem. Right now it's checking all usergroups: primary + secondary and if a member is in one of the usergroups you've excluded then he/she can't use it.
i.e.
Exclude: 18,19,20
User's Primary usergroupid is 2
Users Secondary usergroupid is 19
=
User cannot access the preview.
and vice-versa.
I'll do some digging.
RMS-Chef
02-13-2007, 04:08 PM
To solve the issue with soft deleted threads, just do the same tempalte edit that you have in threadbit in threadbit_deleted.
RMS-Chef
02-13-2007, 04:28 PM
And as a temporary fix for announcements in template threadbit_announcement
After the first <tr>
I added:
<!-- THREAD PREVIEW -->
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"> </td>
</if>
<!-- / THREAD PREVIEW -->
aceofspades
02-14-2007, 09:26 PM
You took my suggestion on board, thank you! Nominated for MOTM.
Tralala
02-16-2007, 12:51 PM
My dev board still has the hack active although it's not adjusted for that forum.
http://www.probehosting.eu/vb36
test/test
Is the hack still active? I wanted to sample it out with a live preview before installing. Logged in (both as "test" and then with a new registration)... but didn't see it working though. Running Safari and Firefox (Mac) here, but read earlier in the thread that it should be working...
SkyCatcher
02-16-2007, 04:24 PM
Is the hack still active? I wanted to sample it out with a live preview before installing. Logged in (both as "test" and then with a new registration)... but didn't see it working though. Running Safari and Firefox (Mac) here, but read earlier in the thread that it should be working...
It's disabled in the top forum.
http://www.probehosting.eu/vb36/forumdisplay.php?f=3
The version there is a little modified from the uploaded one here since it's my dev forum.
It's been changed to click instead of holding the mouse over it and a few minor changes but nothing that dramatic.
SkyCatcher
02-16-2007, 04:25 PM
To solve the issue with soft deleted threads, just do the same tempalte edit that you have in threadbit in threadbit_deleted.
And as a temporary fix for announcements in template threadbit_announcement
After the first <tr>
I added:
<!-- THREAD PREVIEW -->
<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="alt2"> </td>
</if>
<!-- / THREAD PREVIEW -->
Thank you for taking the time to look at it! Work has been killing me lately so I haven't been able to do anything really :(
Will include these in the next update and give you credit for your work :up:
Dark Cynicus!
02-16-2007, 05:01 PM
can anyone port this to 3.5
SkyCatcher
02-16-2007, 05:01 PM
can anyone port this to 3.5
I haven't tried it but doesn't it work in 3.5?
Tralala
02-16-2007, 05:02 PM
It's disabled in the top forum.
http://www.probehosting.eu/vb36/forumdisplay.php?f=3
The version there is a little modified from the uploaded one here since it's my dev forum.
Got it, thanks for the demo! Looks good!
Dark Cynicus!
02-16-2007, 06:25 PM
EDIT TEMPLATE >> SEARCH_RESULTS
==============
FIND:
=======
<if condition="$show['threadicons']">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if>
i cant do dat edit and i get a db error soo i mguessin the product doesnt go wit it
There seems to have been a problem with the InThaBooth : Hip-Hop On Another Level database.
Please try again by clicking the Refresh button in your web browser.
An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.
We apologise for any inconvenience.
SkyCatcher
02-16-2007, 07:57 PM
EDIT TEMPLATE >> SEARCH_RESULTS
==============
FIND:
=======
<if condition="$show['threadicons']">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if>
i cant do dat edit and i get a db error soo i mguessin the product doesnt go wit it
There seems to have been a problem with the InThaBooth : Hip-Hop On Another Level database.
Please try again by clicking the Refresh button in your web browser.
An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.
We apologise for any inconvenience.
EDIT: Try this for vb3.5.
Just replace the previous files with these, then look at the installation. Most of the installation is the same. It differs in the threadbit for the paperclip portion and also in the search_results templates.
talenak
02-16-2007, 11:07 PM
I have the exact same problem as lovelypk. I added the code under $navbar but I don't really understand how this works so I don't know HOW that is supposed to tell me if all the requirements are being met.
Help?
SkyCatcher
02-16-2007, 11:21 PM
I have the exact same problem as lovelypk. I added the code under $navbar but I don't really understand how this works so I don't know HOW that is supposed to tell me if all the requirements are being met.
Help?
Ewww! Custom skin that doesn't use the default configuration!!! lol (sorry, not a bad skin, just a big problem for you ;) )
It looks like you're not using threadicons at all so the problem is that you have 1 too many columns being spanned.
Since you've already added the new code....
IN FORUMDISPLAY
=============
Find (or the original):
<if condition="$show['threadicons'] && !is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="thead" colspan="3"> </td>
<else />
<if condition="$show['threadicons'] && is_member_of($vbulletin->userinfo, $postpreviewusergroups) || $vbulletin->options[ajaxpostpreview_enable] == 0 || in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if></if>
<td class="thead" width="100%">
Try replacing with:
<if condition="$show['threadicons'] && !is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
<td class="thead" colspan="2"> </td>
<else />
<if condition="$show['threadicons'] && is_member_of($vbulletin->userinfo, $postpreviewusergroups) || $vbulletin->options[ajaxpostpreview_enable] == 0 || in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))">
<td class="thead" colspan="1"> </td>
</if>
<td class="thead" width="100%">
and see if that works. If it doesn't work, send me your forumdisplay template via PM and I'll have a look at how it's spanning the columns.
talenak
02-16-2007, 11:25 PM
I changed the column span to 2, it fixes the column smushing, but the preview doesn't work, it doesn't work when it's smushed either.
The only preview is the default gray box of text.
(sorry missed that there were other changes, this is all very fun with a 3 year old shoving legos in my face :))
OK I get this
The following error occurred when attempting to evaluate this template:
The conditional on line 55 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
SkyCatcher
02-16-2007, 11:30 PM
I changed the column span to 2, it fixes the column smushing, but the preview doesn't work, it doesn't work when it's smushed either.
The only preview is the default gray box of text.
Check to make sure all the files are uploaded to the appropriate directories, that you've made the change to the header template to include the js and css files, and that you've imported the product.
If all that holds true, see if there is a wordwrap issue in the threadbit template for the changes you've made (ie the formatting, making sure there are no spaces where there shouldn't be). Internet Explorer does a good job of telling you about JS errors in the lower left hand corner with a yellow warning triangle. You shouldn't be getting an error there.
EDIT: Just to be sure.... you are holding the mouse over the very left arrow of the very left hand column correct? It used to be activated hovering over the mouse, but now it's over the little arrow thingy in the left column.
talenak
02-16-2007, 11:37 PM
I've got everything in the right place, and I use FireFox. I tried with the mouse over the arrows. I've read this whole dang thread from the first post to the last to see if someone else had the same problem and had worked it out :)
talenak
02-16-2007, 11:39 PM
Oh, and I just saw what the point of that code was:
Icons: True
Not in Excluded Group: True
Mod Enabled: True
Forum Not Excluded: True
SkyCatcher
02-16-2007, 11:42 PM
Oh, and I just saw what the point of that code was:
Icons: True
Not in Excluded Group: True
Mod Enabled: True
Forum Not Excluded: True
um.... *gives up*
Can you set me up with a useraccount at the forums from the screenshots so I can take a look? Just a regular user able to use the hack.
talenak
02-16-2007, 11:44 PM
Give me a minute and I'll PM you.
SkyCatcher
02-17-2007, 01:41 AM
Fixed.
Dotterbart
02-17-2007, 10:35 AM
I know it probably has something to do with the css.style but since I am all new to this I dont know better.
How can i get rid of the white borders to the left, right and bottom?!
SkyCatcher
02-17-2007, 01:34 PM
I know it probably has something to do with the css.style but since I am all new to this I dont know better.
How can i get rid of the white borders to the left, right and bottom?!
That has to do with how your style variables are setup.
Go to the adminCP > styles > manage styles
Then select one of the styles and edit the style variables.
The second number $stylevar[spacersize] is what determines how big the border is (just like it does on your regular forum index page.
The color is decided by the css.page background variable when you edit the css options for a style also. (For styles with a gradient background you can also choose transparent and you won't see the borders.
By changing these you'll be changing the way your forum looks so you may have to come up with a compromise for both to look good.
I may tinker with the templates to see if there is any other way of doing it.
talenak
02-17-2007, 01:47 PM
Thanks SkyCatcher!
SkyCatcher
02-18-2007, 06:22 AM
I've just spent the last 9 hours redoing the Attachment Preview part ><
Version 1.5 should hold some nice changes for everyone and may possibly be the final version. Release date is still undetermined since I still have a few things that need to be worked out.
Here's a screenshot of the new v1.5 Attachment Preview to get you excited :)
Andromeda2875
02-18-2007, 03:50 PM
When will this one be released? I like the fact that it just displays the images in the post and not everything else. Great hack btw.
SkyCatcher
02-18-2007, 10:59 PM
When will this one be released? I like the fact that it just displays the images in the post and not everything else. Great hack btw.
The attachment preview seems to work 100% the way I want it to work, the post preview is such a pain in the butt because everyone's screen resolution is different and that really messes things up.
I'm expecting to be done with this in the next couple days but I don't want to rush the release because there have been a lot of changes and I'm retracing my steps so users can upgrade without any issues.
What's Changed in 1.5?
------------------------------
*New Design for the Attachment Previews
--- Now shows all the attachments in the entire thread
--- Collapsable Window
--- You can now close the window with an internal link in the category bar
--- Immages Previewed at 100x100 Pixels
--- Replaced 1 template with 2 new ones for the preview
--- Eliminated a class file
*Post Preview
--- Position seems to have stabilized
--- Size configurable as before (but independantly from the attachment window)
--- Preview template redone to reduce the size of the window
--- Text style changes to smalltext to save pixel space
--- Now utilizes a click on the arrow instead of the mouseover (seems to function better)
*General
--- Includes Template updates from RMS-Chef (thank you for that) to fix colspan issues
--- 2 Seperate funtions to allow size modification of the post preview and the attachment windows independantly
--- Limited the height and reduced the width. Will induce scollbars on the side but it seems to be the only way to keep the window stable and organized.
I'm working on a few additional features but I'm not sure if I know how to implement them so I hope to have everything squared away by the middle of the week.
RMS-Chef
02-20-2007, 12:01 AM
FYI, I noticed today that the colspan issue also effects subscribed thread output in the UserCP display. I plan to find the edit later tonight and I will post it.
SkyCatcher
02-20-2007, 06:29 AM
FYI, I noticed today that the colspan issue also effects subscribed thread output in the UserCP display. I plan to find the edit later tonight and I will post it.
That should already be fixed in the UserCP template edit in the zip file up top :o
D.Ilyin
02-21-2007, 01:54 PM
SkyCatcher think - Ajax Thread(1stPost) Preview 1.5 Gold should be without this:Is in Beta stage :)
Thank's for update!
BTW maybe you will add navigation buttons for preview posts (not only first post) in threads as i tried to request here (https://vborg.vbsupport.ru/showpost.php?p=1175008&postcount=26)?
SkyCatcher
02-21-2007, 02:24 PM
SkyCatcher think - Ajax Thread(1stPost) Preview 1.5 Gold should be without this: :)
Thank's for update!
BTW maybe you will add navigation buttons for preview posts (not only first post) in threads as i tried to request here (https://vborg.vbsupport.ru/showpost.php?p=1175008&postcount=26)?
I haven't forgotten about it, just haven't had time to start looking through the code to see how hard it will be to do. I like the idea so it's definately not out the window, it's just a time issue for me right now :(
D.Ilyin
02-21-2007, 04:08 PM
I like the idea so it's definately not out the window, it's just a time issue for me right now :( we'll be wait.....
Thanks again! :)
ForYou
02-21-2007, 04:58 PM
Hello ,
When I installed the hack I can't see it work with good show ,
Please look at the pics ,
https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/
Note :-
My forum use arabic font that mean from right to left ,
Please help for this problem ,
Regards
SkyCatcher
02-21-2007, 08:23 PM
Hello ,
When I installed the hack I can't see it work with good show ,
Please look at the pics ,
http://www.dardasha.net/montada/uploaded/1_eroo1.jpg
http://www.dardasha.net/montada/uploaded/1_eroo2.jpg
Note :-
My forum use arabic font that mean from right to left ,
Please help for this problem ,
Regards
Ohh that's a problem :o
Try using this file and replace the old one.
mktrilogy
02-22-2007, 01:38 AM
Its weird but it doesnt work anymore in my site.
RMS-Chef
02-22-2007, 02:44 AM
I will mention just once more time then leave it alone.
For anyone who want's to add this as a "premium" offering to their users via subscriptions, the way the permissions are handled need to be changed. It would be much more functional to have the permissions be "groups who can view" rather than who can't which would cover this issue.
Thanks again for your work on this hack.
ForYou
02-22-2007, 04:51 AM
Hello Sir ,
I was reupload the new file for arabic , look at the pic what the new file do it ,
https://vborg.vbsupport.ru/
also you can visit where exactly i was installed the hack ,
http://www.dardasha.net/montada/forumdisplay.php?f=148
You can see the hack becuase i was put the Group # of guest :)
Regards
SkyCatcher
02-22-2007, 05:43 AM
Its weird but it doesnt work anymore in my site.
I will mention just once more time then leave it alone.
For anyone who want's to add this as a "premium" offering to their users via subscriptions, the way the permissions are handled need to be changed. It would be much more functional to have the permissions be "groups who can view" rather than who can't which would cover this issue.
Thanks again for your work on this hack.
Oh Crap! I forgot to mention that the permissions HAVE changed! Look in the settings and you'll see that it's not usergroups ALLOWED to use the hack >< Knew I was going to forget something :(
Hello Sir ,
I was reupload the new file for arabic , look at the pic what the new file do it ,
http://www.dardasha.net/montada/uploaded/1_erro3.jpg
also you can visit where exactly i was installed the hack ,
http://www.dardasha.net/montada/forumdisplay.php?f=148
You can see the hack becuase i was put the Group # of guest :)
Regards
I'll send you a PM. You'll have to play with the positioning numbers a little. I'm sorry I don't have any boards that read from right to left for testing.
dbirosel
02-22-2007, 06:20 AM
Before, i install the mod, I wanted to know how will this effect the forum as a whole? Like, will the server or forum become more slower? How does this mod act performance wise?
SkyCatcher
02-22-2007, 06:25 AM
Before, i install the mod, I wanted to know how will this effect the forum as a whole? Like, will the server or forum become more slower? How does this mod act performance wise?
It's not really any different as it's the same principal as a user clicking on a thread to view it. Your bandwidth may increase slightly with the attachment preview as user's are able to see all of the pictures in the thread just by hovering over the paperclip within a couple seconds vs taking the time to scroll through the whole thread.
Tom_S
02-22-2007, 05:42 PM
Also, it seems to be Transparent like when i select it if there is a forum name under it then it gets mixed in with the writing
I have the transparency issue as well. Was this addressed and fixed by anyone?
SkyCatcher
02-22-2007, 06:26 PM
I have the transparency issue as well. Was this addressed and fixed by anyone?
Hmm, attach a screenshot, I can't recall this ever happening but everyone's forum settings are different so maybe that will help (or a live demo of the problem)
dbirosel
02-22-2007, 06:31 PM
It's not really any different as it's the same principal as a user clicking on a thread to view it. Your bandwidth may increase slightly with the attachment preview as user's are able to see all of the pictures in the thread just by hovering over the paperclip within a couple seconds vs taking the time to scroll through the whole thread.
But if i dont want them to view pictures, and just the thread itself, then the bandwidth shouldnt be that much of a problem?
Tom_S
02-22-2007, 06:43 PM
Thanks but I already uninstalled it. I was getting too many complaints. I will retry on my test board which is where I should have first but being a moron today I decided to go for the gusto :eek:
If I have any issues when I re-install on the test board I will give a shout.
Thanks again. I love the concept and I know it works. I just need a day when I am fully focused. :up:
RMS-Chef
02-22-2007, 08:11 PM
Very nice SC with the permissions change.
I will check out the new version over the next couple of days.
Thanks again.
SkyCatcher
02-23-2007, 08:49 PM
But if i dont want them to view pictures, and just the thread itself, then the bandwidth shouldnt be that much of a problem?
Best to test it and see, but your bandwidth shouldn't go up much at all with just the thread preview since it's text only.
sebbe
02-27-2007, 10:04 PM
Oh crap, I just made a hack like this. I did it for personal use but was thinking of releasing it. Oh well, I will just use mine since it's easier and no additional files except for a .js :p
Good work on this though SkyCatcher, it's a very useful mod. :up:
Thank You!
here is my dirty modification to fix incompatiblity with Zoints SEO not vBSEO
Goto AdminCP -> Plugin & Products -> Plugins -> Zoints SEO ( showthread_getinfo hook location )
Find:
if ($request_uri != $supposed_uri)
Replace With:
if (($request_uri != $supposed_uri) AND (THIS_SCRIPT != 'showthread_ajax'))
kfiasche81
03-04-2007, 05:24 PM
I have followed the README, but I obtain this error.
http://img239.imageshack.us/img239/4311/immaginekq1.jpg
SkyCatcher
03-04-2007, 09:05 PM
The Error is in your forumdisplay template. Make sure you did that edit 2 times in forumdisplay.
kfiasche81
03-05-2007, 06:12 AM
yes i edited 2 times.. ! but i receive this error..
SkyCatcher
03-05-2007, 08:26 AM
yes i edited 2 times.. ! but i receive this error..
Only thing I can tell you is that's you are short a column for the colspan in the forumdisplay template.
A few others have had this problem too:
https://vborg.vbsupport.ru/showpost.php?p=1184237&postcount=120
Try backing up your forumdisplay template.
Then reverting it
Then redoing the edits
If that doesn't work you can always PM me with an admin account to that site (stripping me of all privileges except the template system) and I'll fix it for you.
kfiasche81
03-05-2007, 07:28 PM
i revert all template and i have disable all product...
but this pruduct not work for me.. :(
ericgtr
03-05-2007, 07:28 PM
SkyCatcher, you've done a great job with this man, thanks for sharing it.
SkyCatcher
03-05-2007, 07:56 PM
i revert all template and i have disable all product...
but this pruduct not work for me.. :(
Like I said, I can do it for you if you like.
Invalid ID
03-06-2007, 01:02 AM
It's not working and after I uninstalled it, I don't know how to get my previous codes back in FORUMDISPLAY_Separate etc. :(
TheBlackPoet
03-06-2007, 02:11 AM
my css is showing transparent... and when i click the preview.. it expands my browser window.. it doesnt mess up the tables.. but the scroll bar goes on a journey to the right..... im not going to uninstall this, just disable it until it gets fixed, because i think this is a really nice hack..
SkyCatcher
03-06-2007, 10:00 AM
It's not working and after I uninstalled it, I don't know how to get my previous codes back in FORUMDISPLAY_Separate etc. :(
You simply edit the template (i.e FORUMDISPLAY_Seperate) and click the "View Original" link to the left of the edit box. Then copy and pase the original back into the template and save it. For the other templates you simply follor the newinstallation.txt backwards.
my css is showing transparent... and when i click the preview.. it expands my browser window.. it doesnt mess up the tables.. but the scroll bar goes on a journey to the right..... im not going to uninstall this, just disable it until it gets fixed, because i think this is a really nice hack..
It's not really broken. The way it's setup it will work for the vast majority of people but if you should be one of the few, you can look in the minifaq (https://vborg.vbsupport.ru/showpost.php?p=1174725&postcount=2) to see how to adjust the position of the window, should you need to.
As far as saying it doesn't work: It does work and I know there are a lot of template edits to do, so please specify what's not working and attach a screenshot so I know what exactly is happening. Thanks :)
kfiasche81
03-06-2007, 11:01 AM
Like I said, I can do it for you if you like.
What ?
SkyCatcher
03-06-2007, 01:42 PM
...
What ?
If that doesn't work you can always PM me with an admin account to that site (stripping me of all privileges except the template system) and I'll fix it for you.
SkyCatcher
03-06-2007, 01:47 PM
can someone confirm that this works on latest 3.6.5
It'll work for 3.6.x. The latest updates were only minor whos changes don't affect this in any way.
BACANERIA
03-07-2007, 06:26 AM
Thanks. everything came out fine . lots of template editing but woth it at the end.
installed
rfelice
03-09-2007, 07:49 PM
I've got this installed and it works brilliantly with IE, but with FireFox I get this...
https://vborg.vbsupport.ru/
I'm running vb3.6.4 and FF 2.0.0.2 any thoughts on what might be bullocksing this up for me?
Cheers!
Guest210212002
03-09-2007, 08:07 PM
/me tags this for later
SkyCatcher
03-10-2007, 12:10 AM
I've got this installed and it works brilliantly with IE, but with FireFox I get this...
http://www.rpgnation.org/images/ajaxthread.png
I'm running vb3.6.4 and FF 2.0.0.2 any thoughts on what might be bullocksing this up for me?
Cheers!
That's really strange, I'm running FF 2.0 myself without any issues. You said it works fine in IE - so you've obviously done everything correctly. The Edit and Quote buttons are there so I'm stumped. Have you tried it from another PC with FF or just yours? I really can't think of anything :(
Does this work with vbseo installed ?
SkyCatcher
03-10-2007, 07:29 AM
Does this work with vbseo installed ?
No it doesn't because vbSEO doesn't use the standard showthread.php in the url.
rfelice
03-10-2007, 11:04 AM
That's really strange, I'm running FF 2.0 myself without any issues. You said it works fine in IE - so you've obviously done everything correctly. The Edit and Quote buttons are there so I'm stumped. Have you tried it from another PC with FF or just yours? I really can't think of anything :(
That's a good suggestion. I'll give that a shot and let you know.
obmob
03-12-2007, 10:04 PM
Interesting. :)
Razin
03-13-2007, 06:46 PM
I have installed this hack... But it will not work??? plzzz help me???
I have paste in header <script type="text/javascript" src="js/ajax_postpreview.js"></script>
<link rel="stylesheet" href="css/ajax_postpreview.css" media="screen" type="text/css">
SkyCatcher
03-13-2007, 08:40 PM
I have installed this hack... But it will not work??? plzzz help me???
I have paste in header
mmm ok, can you be more specific?
Make sure you installed the product, and followed every step in the installation carefully.
SkyCatcher
03-14-2007, 06:38 AM
Instructions in 1st post and also updated the zip to fix my template mistake. I hope this solves the FF issue.
littleone
03-14-2007, 04:19 PM
A great Mod . But this addition would be great. A user can simply close off that window by pressing left mouse button anywhere on the screen, and not just the close button.
CAn you implement that
Thanks
SkyCatcher
03-14-2007, 09:15 PM
A great Mod . But this addition would be great. A user can simply close off that window by pressing left mouse button anywhere on the screen, and not just the close button.
CAn you implement that
Thanks
I don't know how that works exactly (I know what you mean though) but I'll check into it to see if I can come up with something.
Work has been bogging me down the last few weeks so bear with me please :)
Guest210212002
03-14-2007, 10:21 PM
I've got it installed and working, though it seems to have made my site quite a bit slower. I also get this odd "loading" box with a red X when clicking the preview (attached).
Edit: It's looking for domainname.com/images/indicator.gif, which is odd, since it's not looking for www.whatever.com/FORUM/images/indicator.gif - just domain/images. Looking around now to try and see where it's called.
Great mod - any thoughts?
Thanks!
Edit: You might also want to remove the "tip" for the default usergroups with the permission change, it still says to default to 1.3.
Guest210212002
03-14-2007, 11:43 PM
Also, when clicking close on the window, it returns you to the forum screen, instead of just closing the AJAX window. It's an actual link that brings you to "www.url.com/forum/#close".
SkyCatcher
03-15-2007, 07:33 AM
I've attached an image you can use. It's called at the very top of the .js file.
When clicking close it should just close the window. It should just append the #close to the end of the URL at the top in the address bar, not actually reload the page or take you somewhere else.
I find that rather odd if it's redirecting you. I suppose you could try to edit the Threadbit template and edit the <a> tag in the first conditional to see if that makes a difference for you.
Guest210212002
03-15-2007, 01:59 PM
I'll give it a shot. It's doing it in Firefox, IE and Opera. Otherwise it's working just great. :) It's also intermittent. I had a bunch of users point it out, and it was happening to me as well. However this morning (albeit on a much faster connection) I can't duplicate it.
Where's the call to that image actually located? I had to make a folder just for it, and I'd much rather have it in /forum/images where it belongs. :)
Thanks again!
Guest210212002
03-15-2007, 02:04 PM
From a member on my forums:
Did a little more playing around (Safari) interestingly clicking the mysteriously floating 'Click here to close' link works as it should and leaves you in whatever forum you're in, but clicking the '-> Close <-' next to the date bounces you to the top level forum.
Are these two different links?
Snatch
03-17-2007, 05:18 PM
Is it possible that it shows only the Pictures in [.img] etc. Tags and Thumbnails und nothing else. And thad it show this by MouseOver the Thread Titel?
mktrilogy
03-28-2007, 11:52 PM
man, I have been waiting for this mod for along time and i just cant make it work. I have installed it about 5 times. The first i had it working, after the updates and change server, i cant seem to make it work. I still voted for it for mod of the month :(
BACANERIA
04-14-2007, 10:46 PM
this doesnt work for me it changes the way threadview looks and messes everything up.
Hi
Firstly thanks for this mod...
I have a problem...Please look the picture.How can i fix it?
Lost Heaven
05-06-2007, 02:55 PM
I find that this problem come from edit template >>FORUMDISPLAY .Remember that find :
<if condition="$show['threadicons']">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if>
and replace with :
<if condition="$show['threadicons'] && is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, $postpreviewforums)))">
<td class="thead" colspan="3"> </td>
<else />
<if condition="$show['threadicons'] && !is_member_of($vbulletin->userinfo, $postpreviewusergroups) || $vbulletin->options[ajaxpostpreview_enable] == 0 || in_array($forumid, $postpreviewforums)">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if></if>
In file newinstall.txt has a problem that tell everybody find :
<if condition="$show['threadicons']">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if>
<td class="thead" width="100%"> ===>this broblem
Sorry,my english is very bad :(
tobias_t
05-30-2007, 11:38 AM
I have installed this mod, but it doesn't work with the custom style of our forums because the expand icon to the left of the thread title doesn't show up. It works fine with the vBulleting default style. Any idea where to look for the source of this problem?
Thanks, Tobias
ok awesome
06-09-2007, 04:39 PM
I've got this installed and it works great, but I was wondering if it would be possible for it to work this way.... I'd like it to replace the mouseover text preview that is on by default. Basically, if you mouseover a thread then you get the ajax preview, and if you move off of the thread the box auto closes. I know that can cause some problems so I was thinking maybe like a 3 second delay to launch, that way if someone just scrolls all the way down and hits every link a ton of windows don't pop up. I think that would be cool, but I couldn't figure out how to get it to work.
tobias_t
08-07-2007, 03:32 PM
Hi there,
I installed it, but it doesn't work. The reason is that the icons for expanding the threads simply don't show up in the custom style that we are using (it does work in the standard vbulletin style).
I have tried both automatic and manual template edits, without success. Any suggestions?
Thanks, Tobias
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.