PDA

View Full Version : New Posting Features - AJAX Preview For New Thread / Reply


-=Sniper=-
07-04-2007, 10:00 PM
------------------------------------
http://www.vBulletinExpert.com
------------------------------------

What does it do?

- Allows you to see the preview without leaving the page! via AJAX!
- See Demo.gif

----------
17/11/2007
----------

1.3
~~~

- The hack no longer uses the vbulletin "Preview Post" button, instead its got its own button at the top, this
gives users the option of doing a ajax quick preview or the default vbulletin preview.
- Added "updating" text while the preview is being processed.

----------
14/10/2007
----------

1.2.1
~~~

- Fixed a few bugs
- No more edits required

----------
06/07/2007
----------

1.2
~~~

- Fixed image issue
- Added AME - Auto Media Embedding (https://vborg.vbsupport.ru/showthread.php?t=150863) preview

----------
05/07/2007
----------

1.1
~~~

- Phrase added
- Cached templates

1.0
~~~

- First Release

NOTE: If you don't Click Install, I will not provide you with any support!

Sofia
07-05-2007, 04:20 PM
Great work, Sniper :) Thanks a lot ;)

iogames
07-05-2007, 04:34 PM
Great work, Sniper :) Thanks a lot ;)

Wow Sofia! where do you get that avatar? it's a Character? how's she called?

Love Manga/Anime

Sofia
07-05-2007, 04:45 PM
Wow Sofia! where do you get that avatar? it's a Character? how's she called?

Love Manga/Anime

It's "Kamafun" = Kamasutra and Fun. this picture is a mobile phone logo : http://sonnerie.aol.fr/logokamafun.aspx :)

semka
07-05-2007, 05:21 PM
Woooow!!!! Its very nice, thanks!

Distance
07-05-2007, 05:29 PM
Looks nice, good work :)

EnIgMa1234
07-05-2007, 05:41 PM
great hack great job

Stoebi
07-05-2007, 06:09 PM
Hi,

really a great hack. Thank you :)

The hook newreply_form_complete exists twice.

My wish is to see the signature in AJAX preview, if present like the original preview.
It is possible to see the table first, if user hit the preview button?
Found a hardcoded phrase in template newpreviewajax


Regards, Stoebi

alessai
07-05-2007, 06:10 PM
COOOOL << love AJAX installed

-=Sniper=-
07-05-2007, 06:23 PM
strange, I'll remove it and add a phrase, I'll have a quick look at signature Ajax preview, no promise though :)

edit: removed duplicate hook use, will update phrase later

Magnumutz
07-05-2007, 06:30 PM
I like it... this has to reduce server load.
*Magnum clicks install*

Kaleem
07-05-2007, 06:31 PM
Great one nice :)

Njm
07-05-2007, 06:35 PM
wow nice work man

Quantnet
07-05-2007, 06:52 PM
there is uncached templates when for newreply

newpreviewajax
newpost_disablesmilies_ajax

-=Sniper=-
07-05-2007, 06:53 PM
thanks totally forgot about them! will cache them now!

-=Sniper=-
07-05-2007, 07:06 PM
please update to 1.1 as it reduces two queries :) since I forgot to cache the templates.

Quantnet
07-05-2007, 07:09 PM
thanks totally forgot about them! will cache them now!
Got the new file. Updated and it knocked off 2 queries :D
Thanks

ragtek
07-05-2007, 07:16 PM
very fine idee

Allan
07-05-2007, 07:24 PM
Thank you for this hack, it's very nice :)

Xil Ze
07-05-2007, 07:26 PM
superb

beduino
07-05-2007, 07:28 PM
tks sniper!
a very interesting hack :D
all the best
beduino

mhackl
07-05-2007, 07:36 PM
This is one made my day. Sweet Hack!

Renada
07-05-2007, 08:49 PM
Thank you Sniper :)

Hornstar
07-05-2007, 10:06 PM
Very sexy ^^ nice work.

Slave
07-05-2007, 10:38 PM
Wonderful hack .. works with 3.6.0 .. installed :)

Tulsa
07-05-2007, 10:42 PM
Very nice mod. Thanks.

testebr
07-05-2007, 11:34 PM
ALERT: this mod is incompatible with a lot other mods like "Anymedia".

Nice idea, but I cant use it. I need preview my videos.

-=Sniper=-
07-06-2007, 01:28 AM
ALERT : I'd be happy to integrate with AME - Auto Media Embedding (https://vborg.vbsupport.ru/showthread.php?t=150863) if people request it (nicely). (Only with AME since it offers excellent expandability)

Also read first post regarding support!

4x4 Mecca
07-06-2007, 01:43 AM
I'm nicely requesting it! :D Pretty please

PoetJA-1975
07-06-2007, 04:24 AM
Very nice - Thanx for the sharing!

Jacquii.

Coders Shack
07-06-2007, 05:39 AM
very nice :D

Xplorer4x4
07-06-2007, 05:53 AM
It would be great if the preview box only showed up when there was text to preview. :)

D.Ilyin
07-06-2007, 06:29 AM
thanks for share! :) Nominate MOTM!

projectego
07-06-2007, 07:09 AM
* projectego clicks install! :D

Smoothie
07-06-2007, 01:48 PM
One small suggestion. Lets see how to put this. The images (collapse_tcat.gif and collapse_tcat_collapsed.gif), shouldn't they follow the skin image folder? Hope I phrased that correctly.

Snake
07-06-2007, 05:36 PM
Thanks for the release! I've been waiting for something like this but any idea why the hack's still in beta stages? :\

-=Sniper=-
07-06-2007, 08:49 PM
no one has reported major issues so I'll move it out of beta, I just want a game of Pro Evo 6 first :) before any updates :)

-=Sniper=-
07-06-2007, 10:01 PM
1.2
~~~

- Fixed image issue
- Added AME - Auto Media Embedding preview

sola
07-06-2007, 10:41 PM
Looka good. Will install. Thanks.

Smoothie
07-07-2007, 01:49 AM
what's the upgrade procedure? re-up the product??

-=Sniper=-
07-07-2007, 07:10 AM
ah yes, thats all just "import product again". I'll update readme file later on.

TheMilkCarton
07-07-2007, 09:30 AM
Not sure if you were looking to expand this product any, but I thought I might as well throw some suggestions out there :)

1) Integrating this hack with editpost
2) Integrating this hack with PMs

I find myself using "Preview Post" a lot more often in Edit Post and Send PM than New Post/Thread. Just my 2 cents.

Anyway, great hack!

Smoothie
07-07-2007, 01:23 PM
upgraded, works great.

-=Sniper=-
07-07-2007, 07:22 PM
Not sure if you were looking to expand this product any, but I thought I might as well throw some suggestions out there :)

1) Integrating this hack with editpost
2) Integrating this hack with PMs

I find myself using "Preview Post" a lot more often in Edit Post and Send PM than New Post/Thread. Just my 2 cents.

Anyway, great hack!

good idea, i'll update it monday :)

Mecho
07-07-2007, 08:01 PM
looks great ... i think it also helps for server loading too . isnt it ?

RedTyger
07-07-2007, 08:33 PM
Looks like a terrific job, good stuff. I'll be installing this once it's added to the other areas. :)

TheMilkCarton
07-08-2007, 03:37 AM
good idea, i'll update it monday :)Thanks! :) I actually already added it to pm and editpost. I'm working on adding it to the PM preview in userinfraction and possibly the signature preview in modifysignature (just for fun). Modifysignature seems tricky though, not sure if I'm smart enough to get it working. :) What I'm not sure about is whether it'll follow signature permissions in the preview without me changing a lot of the plugin code.

-=Sniper=-
07-08-2007, 08:52 PM
Modifysignature will require quite a bit of code because of all the checks that need to be made.

Mecho
07-09-2007, 10:10 AM
looks great ... i think it also helps for server loading too . isnt it ?
anyone plz ??

-=Sniper=-
07-09-2007, 06:24 PM
I don't know about server load but considering that users will not reloading the whole page again and again it should help.

Triky
07-10-2007, 09:33 AM
Yes, really great work!

minimalize
07-18-2007, 02:16 AM
is there an info how to do the template changes manually? I think they didnt work at my vb!

-=Sniper=-
07-18-2007, 03:13 PM
check the readme file in the zip file!

ammoskumar
07-19-2007, 01:41 AM
Fantastc:D:D:D Thanx Bro

Digbijoy
07-19-2007, 02:47 PM
thanx dude !!!!

will surely install it.
i love AJAX.

Invalid ID
07-19-2007, 03:56 PM
Great job

exes_slayer
08-07-2007, 07:51 AM
AJAX FTW!
/me clicks installed

M-Tuning
08-07-2007, 08:02 AM
Nice hack!

kfiasche81
08-07-2007, 11:48 AM
there is a bug , the preview box, hide the "error messages box"

TheBlackPoet
08-07-2007, 11:55 AM
very sweet!!! i thought it was going to type as i typed.. but it didnt ... still this does the job!!! installed and voted!!!!!

-=Sniper=-
08-07-2007, 11:57 AM
kfiasche81; please provide more details, thanks

TheBlackPoet; yeh I was hoping to do that, but I think the editor is already using the events needed to achieve it.

RvG2
08-08-2007, 02:20 AM
it works great! 3.6.7 pl1 :) with custom template also.

kfiasche81
08-08-2007, 07:15 AM
This img when the AJAX Preview For New Thread / Reply is DISABLE and i try "Submit New Thread"

http://img522.imageshack.us/img522/5724/immagine1bi6.jpg

This img when the AJAX Preview For New Thread / Reply is DISABLE and i try "Preview Post"

http://img511.imageshack.us/img511/2089/immagine4co0.jpg

This img when the AJAX Preview For New Thread / Reply is ENABLE and i try "Submit New Thread"

http://img367.imageshack.us/img367/4867/immagine2hu7.jpg

This img when the AJAX Preview For New Thread / Reply is ENABLE and i try "Preview Post"

http://img367.imageshack.us/img367/116/immagine3js7.jpg


As you can see your product override the error message box and bypass it when i click Preview post...
Wait for the fix.. bye

Brew
08-09-2007, 04:54 AM
Works great on my 3.6.8 setup.

But I had to do the template edits first, then import the product. After that it is working great.

Good job!

-=Sniper=-
08-13-2007, 02:12 PM
kfiasche81; thanks I will look to fix that and try to get rid of edits if possible.

cynthetiq
08-15-2007, 01:28 AM
is the AME preview supposed to also embed the item such as youtube video?

because it doesn't in my mod.... is there a switch i need to turn on?

rainyleaves
08-16-2007, 03:11 PM
there is a bug , the preview box, hide the "error messages box"

I got same problem.
And I got sintax error with this mod.
VB3.6.8

I think you lose 'error message' code.
And it's caused by Sintax error.

Please fix the problem... :)

exes_slayer
08-25-2007, 10:05 AM
marked as uninstalled!
its a great hack BUT your users who use firefox may loose the possibility to create threads, when they click post new thread the page refreshes and nothing happens, quite many users who use ff on my forum told me that they can't post new threads because after they click post new thread page refreshes and nothing happens, after i disabled the hack everything got back to normal at every user who reported the problem

aceofspades
08-25-2007, 03:46 PM
Deos this work with quick reply?

cynthetiq
08-25-2007, 05:01 PM
is the AME preview supposed to also embed the item such as youtube video?

because it doesn't in my mod.... is there a switch i need to turn on?

Wild, it didn't work the first day when I tested it, but it works beautifully now.

Thank you again!

cynthetiq
08-25-2007, 05:02 PM
Deos this work with quick reply?
yes it does

uB|Delta One
08-28-2007, 03:45 AM
Hello,

I've recently installed this hack on my forums and it works perfectly. The only problem now, is I've noticed that when people reply to posts, it hangs on a while page and says "page loading" and it never does. If you simply refresh the page after submitting a reply, the post shows up as if nothing happened. If users post a new thread, this does not happen.

What have I done wrong? And, how can I fix it to utilize this hack and get the normal reply posting back to functionality?

Thanks,
Patrick

Chadi
08-29-2007, 02:17 AM
This is not working for me at all odd enough

vnairp11
08-30-2007, 12:24 PM
Please e nable embeded video code support such as from yahoo myspace etc.

PlymWS
08-30-2007, 02:32 PM
Great work. I would install this but I need my previews to also include any attachments in the preview as well.

Ba$im
09-05-2007, 09:04 AM
Great work, Sniper

YsTyle
09-10-2007, 05:09 PM
great and useful mod! Thank you very much!

(installed)

WarLion
09-10-2007, 06:13 PM
wow soooo f. cool thanks for this , i love it installled

FleXy
09-16-2007, 11:40 AM
marked as uninstalled!
its a great hack BUT your users who use firefox may loose the possibility to create threads, when they click post new thread the page refreshes and nothing happens, quite many users who use ff on my forum told me that they can't post new threads because after they click post new thread page refreshes and nothing happens, after i disabled the hack everything got back to normal at every user who reported the problem


the same !

click uninstall, but mod is really great if it will be morking for all.

cynthetiq
09-16-2007, 02:01 PM
marked as uninstalled!
its a great hack BUT your users who use firefox may loose the possibility to create threads, when they click post new thread the page refreshes and nothing happens, quite many users who use ff on my forum told me that they can't post new threads because after they click post new thread page refreshes and nothing happens, after i disabled the hack everything got back to normal at every user who reported the problem

the same !

click uninstall, but mod is really great if it will be morking for all.

I just tested this on my system, as I'm double checking my funtions for launching soon.

I've tested in in FF and Opera and have no functionality problems with this mod.

vnairp11
09-19-2007, 02:22 PM
it doesn't preview regular youtube embedded codes..

Fifthe1ement
09-24-2007, 05:20 AM
It doesn't work for me as I uploaded the product file and installed and then changed my template as instructed in the install txt. But when I create a new thread and click the preview button my browser doesn't move although it says above press preview to refresh or something like that. What is wrong?

Thanks,

FifthE1ement

thaki
10-03-2007, 04:17 AM
It doesn't work for me as I uploaded the product file and installed and then changed my template as instructed in the install txt. But when I create a new thread and click the preview button my browser doesn't move although it says above press preview to refresh or something like that. What is wrong?


same problem!!

-=Sniper=-
10-04-2007, 09:38 PM
i'll update on weekend, which should means less edits I hope and look at reported bugs!

m002.p
10-04-2007, 10:41 PM
Great work, a nice but simple add-on ;)

Fifthe1ement
10-14-2007, 04:49 AM
i'll update on weekend, which should means less edits I hope and look at reported bugs!
Any news as this was quite some time ago?

Thanks,

Fifth

-=Sniper=-
10-14-2007, 05:59 PM
I've updated it and fixed a few bugs (e.g. when javascript is disabled it will no longer show the preview box), upgrade requires you undo previous changes to templates. Please report back with any problems.

AzaDiyaR
10-14-2007, 07:53 PM
thanks this working very good :D

Smoothie
10-16-2007, 12:27 AM
Isn't working for me. The page just refreshes. 1.2 worked fine, but 1.2.1 does not.

-=Sniper=-
10-16-2007, 07:31 PM
Smoothie; try clearing browser cache.

lordtopcat
10-19-2007, 10:04 PM
Hi,

I have installed as directed in the Readme.txt file provided with the modification.

It says there are no template edits, however the modification does not work for me.

When I go to new thread and hit Preview, it refreshes and displays the preview as usual. However I do see the "Click Preview Post to update!" box created by the modification.

As directed above I have cleared my cache, but this problem still arises.

I am using vBulletin 3.6.8 P1, and using Firefox 2.

Thanks,
LTC

DragonMasterNYC
10-19-2007, 11:38 PM
Nice can you say installed

lordtopcat
10-20-2007, 12:20 AM
I have said installed

Illustrious
10-20-2007, 08:12 PM
1.2.1 doesn't work. I'm also running vBSEO and a custom style, if that makes any difference.

I have not tested 1.2.

Smoothie
10-22-2007, 11:58 PM
still not working, page just refreshes with preview, same as it is in the default vB.

andryus
10-31-2007, 11:39 PM
this don't work in opera =S

soulface
11-01-2007, 05:46 AM
same here.. its not working..

RaheYa
11-01-2007, 06:08 AM
Same problem, it's not work. vBulletin 3.6.8 PL1; AJAX Preview For New Thread / Reply v1.2.1

* Mark as Uninstalled :(

neopet001
11-01-2007, 10:53 AM
Still not working, waiting for a good one as your illustration
Marked as installed

Strik3
11-01-2007, 11:35 PM
vBulletin 3.6.8 Patch Level 1 with vB Style and it wo'nt work.. :/

-=Sniper=-
11-02-2007, 06:28 PM
please use 1.2 til I get sometime to work on it...

yoyoyoyo
11-07-2007, 01:07 AM
please use 1.2 til I get sometime to work on it...
looking forward to the update...

version 1.2 does not work with new thread, but works with new reply - how can I get rid of the "click to preview" function for new thread with 1.2?

-=Sniper=-
11-17-2007, 05:13 PM
I've just spent sometime testing the hack, it seems to be working fine in latest versions of FF, IE7 and Opera (using vbulletin 3.6.8 PL 2). Please PM with admin access if you want me to have a look at your site to fix any problems.

-=Sniper=-
11-17-2007, 07:31 PM
Update 1.3

- The hack no longer uses the vbulletin "Preview Post" button, instead its got its own button at the top, this
gives users the option of doing a ajax quick preview or the default vbulletin preview.
- Added "updating" text while the preview is being processed.

rayw
11-18-2007, 03:04 AM
Latest update seems to work nicely on a 3.6.7 board.

Cheers!

TCooper
11-18-2007, 07:20 PM
Great hack but has a conflict with v3arcade after the score has been posted you cant use the rating system and stuff that uses ajax on that page... not sure if anyone else had that problem

-=Sniper=-
11-18-2007, 07:23 PM
interesting, the hack places nothing on the arcade pages, the only time the hack runs is during New Reply/thread and PM. Have you enabled/disabled to hack to test it, any error messages?

TCooper
11-21-2007, 06:19 AM
dude sorry it was a rough night it was actually vbadvanced as I integrated that page about the same time i installed the mod.

BadgerDog
11-21-2007, 10:28 AM
Installed.... :)

Thanks :up:

Regards,
Badger

inciarco
12-13-2007, 02:36 PM
Interesting Thread!! :)

One Bug!! :( :confused:

This Hack Causes That When You Edit a Message and Try To Change The "Include Signature" Option, That Option Isn't Updated, so When You Have That Option Disabled and Try To Enable It, This Hacks Causes That Option Not To Be Updated, Even For Administrators!! :confused: :(

Perhaps Interferes With Other Options, But I Haven't Tested It Further and Decided to Disable It, for it Not To Interfere With The "Include Signature" Option in Posts and Threads!! :erm:

My Best Regards!! I Hope This Bug Could Be Fixed!! :rolleyes:

:)

lordtopcat
12-15-2007, 08:30 PM
Hi,

How can I remove the quick preview button and make it the normal Preview Post button ? I don't want two preview post buttons lol.

thanks
LTC

-=Sniper=-
12-25-2007, 11:26 AM
inciarco; thanks I will look into that.

lordtopcat; that's how it originally functioned but then users were forced to use it, perhaps the button can be placed next to the preview button.

puroeuro
01-18-2008, 08:19 AM
is there a way to get rid of this on the pm page? i'm running into the error that when using this preview that it previews it and then reloads the page as if using the default vb preview button, all other areas that i've tested it on work just fine though.

aceofspades
05-30-2008, 09:52 AM
I love the idea of this hack, but i thought the whole idea of a preview is to pass the bb code and other code to show you exactly what it will look like. However in your example it just copies exactly what is in the text box and doesnt pass the bb code, in this case making the bold text bold.

Am i missing something?

-=Sniper=-
05-30-2008, 05:22 PM
the above example was animated which showed that it worked with all vb bbcodes but for some reason its been changed to a static image...so it works exactly like the normal preview but via AJAX.

Crapforum
06-03-2008, 10:23 AM
nice hack...
Is it possible to have it auto-update the preview, when you type something in the reply box?

brasolino
06-05-2008, 01:20 PM
compatible with 3.6.10 ?

Dr_Hengelhoffer
09-07-2008, 12:18 PM
Grat! How can i put the "Preview Post" button above the editbox.. ?

FCS-Webmaster
07-24-2009, 01:22 PM
Marked as uninstalled since I experienced some trouble within my PM section. User wasn`t able to click anymore inside the Textbox (WYSIWYG) from the Editor. IE and Standardeditor even in FF worked fine.

Can`t say if it`s in trouble with some other hacks & addons or FF itself but I don`t have much time for debuggin. Sad... I used it a long time.

Anyway a great hack!