vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   AJAX Fast Open/Close Threads (vB 3.5 Replication) (https://vborg.vbsupport.ru/showthread.php?t=81658)

Zero Tolerance 05-17-2005 10:00 PM

AJAX Fast Open/Close Threads (vB 3.5 Replication)
 
Update: To fix the known 2 bugs (red x for new threads & in-functional on search pages), re-download, do the edit for the 'search_results' template, and re-upload clientscript/ajax_openclosethread.js

Well as i wrote a tutorial on how to use AJAX, i thought i might aswell release an addon which uses AJAX Technology.

I'm sure you've all seen the video of AJAX in action in the vBulletin v3.5 development announcement, and if you havn't, better go look at it for a preview.

This addon will do exactly what that video shows, opening and closing topics with no page reload what-so-ever (no, it does not include the fast edit topic title).

Very easy installation, upload 1 file, 1 file to edit and 2 templates to edit, should take you 5-10 minutes max :)

Enjoy,

- Zero Tolerance

Adrian Schneider 05-18-2005 01:55 AM

Love ya. :D

**installs**

Dark Aura 05-18-2005 02:01 AM

Wooh! Great Modification, Zero Tolerance!

Adrian Schneider 05-18-2005 02:03 AM

Did it work for you Aura? I get the alt tag, but when I click IE displays error on page bottom right, and firefox just ignores. (no closing takes place)

Dark Aura 05-18-2005 02:03 AM

Just click on the image and it should change to the locked image.Also it may be because you don't have vBulletin v3.0.7

Zero Tolerance 05-18-2005 02:04 AM

Did you upload the javacript file specified in the upload folder and make the edit for the FORUMDISPLAY template? If you mised either of those out then the JS file won't load.

- Zero Tolerance

Adrian Schneider 05-18-2005 02:05 AM

Ill check to see where I messed up, the JS file is in forumdir/clientscript.

Adrian Schneider 05-18-2005 02:05 AM

Nevermind, reuploaded the file and it works.. :) nice job

Zero Tolerance 05-18-2005 02:08 AM

Glad to hear it is working :)

- Zero Tolerance

cinq 05-18-2005 02:37 AM

We're on a roll, aren't we :D
Good job, love that tutorial too.

Lizard King 05-18-2005 02:45 AM

Great Job Zero Tolerance...

MrNase 05-18-2005 03:50 AM

Nice work!! Keep them coming ;)


(btw. vB 3.5 is delaying.. Kier is trying to get more AJAX into it since now he knows AJAY isn't not that special ;))

Zero Tolerance 05-18-2005 03:54 AM

Quote:

Originally Posted by MrNase
Nice work!! Keep them coming ;)


(btw. vB 3.5 is delaying.. Kier is trying to get more AJAX into it since now he knows AJAY isn't not that special ;))

Sounds good, AJAX really opens up a lot of oppertunities to improve systems and more access to do things we couldn't in the past.

- Zero Tolerance

Lionel 05-18-2005 04:58 AM

Amazing. Where can we read that tutorial?

Zero Tolerance 05-18-2005 05:14 AM

Quote:

Originally Posted by Lionel
Amazing. Where can we read that tutorial?

The tutorial can be found right here: https://vborg.vbsupport.ru/showthread.php?t=81626

:)

- Zero Tolerance

NuclioN 05-18-2005 06:04 AM

Nifty :) Very nice add.

Neutral Singh 05-18-2005 06:14 AM

I have checked up the installation guide twice... but when i click on the status icon i get a error message in internet explorer's status bar:

Object Expected.

I have not missed any steps. Please guide.

Regards

Zero Tolerance 05-18-2005 06:45 AM

Ensure you have made all edits, then make sure you have uploaded the js file into its proper location (forumdir/clientscript), make sure its uploaded in ASCII mode :)

- Zero Tolerance

Lionel 05-18-2005 06:53 AM

ZT, you are very good at what you do. Take a look at that . Got the Java from yahoo to examine. Food for thought! ;)

Zero Tolerance 05-18-2005 07:06 AM

Quote:

Originally Posted by Lionel
ZT, you are very good at what you do. Take a look at that . Got the Java from yahoo to examine. Food for thought! ;)

Yeah, google are also using AJAX technology, for GMail and Google Suggest (which is still in beta i believe).

Though i won't need any reference, all i needed reference to was the ajax core functions itself, i already know JS so really it's just a question of using what i know with ajax, like this modification for example :)

- Zero Tolerance

uae 05-18-2005 08:48 AM

ZT, this AJAX is really amazing...

Way to go dude :)

clicked install...

Zero Tolerance 05-18-2005 08:54 AM

Quote:

Originally Posted by uae
ZT, this AJAX is really amazing...

Way to go dude :)

clicked install...

Aye, it surely is a great developers tool, and will probably widen IPB's eyes a little bit ;)

- Zero Tolerance

TTG 05-18-2005 09:01 AM

Works on 3.0.6 .. thanks ZT

Zero Tolerance 05-18-2005 09:03 AM

Quote:

Originally Posted by TTG
Works on 3.0.6 .. thanks ZT

Glad to hear it, i wasn't sure about compatability with older versions of vB3 installations. :)

- Zero Tolerance

TheComputerGuy 05-18-2005 11:14 AM

Working here

Installed without a problem :)

Snake 05-18-2005 11:46 AM

Man I love you!

*clicks on Install*

ranger2kxlt 05-18-2005 12:49 PM

Ok found maybe a bug or an error.....

If the thread is a new topic (the env with the letters sticking out) if i click it i get the ALT tag, and the red X

If the thred is old (env is closed) it works perfect

I don't have any IE errors or anything like that, either i'm missing the image, or its linking to the wrong area to grab the image.

Zero Tolerance 05-18-2005 12:51 PM

Quote:

Originally Posted by ranger2kxlt
Ok found maybe a bug or an error.....

If the thread is a new topic (the env with the letters sticking out) if i click it i get the ALT tag, and the red X

If the thred is old (env is closed) it works perfect

I don't have any IE errors or anything like that, either i'm missing the image, or its linking to the wrong area to grab the image.

Right click on the red x, go to properties, and check what the image URL is, paste it here.

If it is a bug, ill fix it, only a minor issue, the topic would still change state.

- Zero Tolerance

Princeton 05-18-2005 01:10 PM

great tool :up:

here's the Double Click Edit code if you are interested:
http://scyth.info/2005/05/03/double-click-edit

nexialys 05-18-2005 01:17 PM

Quote:

Originally Posted by princeton
here's the Double Click Edit code if you are interested:
http://scyth.info/2005/05/03/double-click-edit

url not correct, can't reach... if it's a hack we can release, would be good to have it here, not on an external url... (you know, licenses etc...)

ericgtr 05-18-2005 01:41 PM

Regardless of the functionality (which is very handy) this is the coolest "bells and whistles" mod yet.

j_86 05-18-2005 01:42 PM

Quote:

Originally Posted by Lionel
ZT, you are very good at what you do. Take a look at that . Got the Java from yahoo to examine. Food for thought! ;)

!!!

Geek Auto Linker here I come with this.

Adrian Schneider 05-18-2005 01:43 PM

Quote:

Originally Posted by amanpartaps
I have checked up the installation guide twice... but when i click on the status icon i get a error message in internet explorer's status bar:

Object Expected.

I have not missed any steps. Please guide.

Regards

Get that sorted out yet? The same thing happened to be, reuploading postings.php fixed it.

ranger2kxlt 05-18-2005 02:31 PM

ZT here is the URL i have for the new folder lock image

http://www.URL.com/forums/images/sta...d_new_lock.gif

Also, just saw that on the search page, the images say click to open/close thread, well it gives an error in IE when this is done, i assume its only because you didn't implament the hack to work in the search option, can you do that?

ranger2kxlt 05-18-2005 02:35 PM

nexialys, the link works for me....http://scyth.info/2005/05/03/double-click-edit its not for VB in general it just gives you code on how to make double-click-edit work

so someone would have to convert all the code to VB for us.

poolking 05-18-2005 03:58 PM

nice one, just installed. :D

Bulent Tekcan 05-18-2005 09:11 PM

Quote:

Originally Posted by poolking
nice one, just installed. :D

thread_new_lock.gif not there...I think must be thread_lock_new.gif because Vb not include thread_new_lock.gif icon.

Thanks

zell_11 05-18-2005 09:23 PM

Great one ZT i love how you are starting to make all these lovely hacks?

Bulent Tekcan 05-18-2005 09:55 PM

And also ranger2kxlt is right,search page error in IE.

Thanks

Zero Tolerance 05-19-2005 03:01 AM

ranger @ - I have thread_new_lock.gif - Are you using vb 3.0.7? I can't garentee it's a default image however i see no reason why it shouldn't be. So, once the red x appears, refresh the page and see what image your system uses for that locked icon, then i know which to use :)

Ill make it compliant with the search page once i've comfirmed + fixed the above bug.

- Zero Tolerance


All times are GMT. The time now is 04:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01374 seconds
  • Memory Usage 1,808KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete