View Full Version : Forum Home Enhancements - [AJAX] Arab Lounge - Autoprune included
adhari_com
01-22-2007, 10:00 PM
:: Introduction
Hello, I've been dealing with vBulletin since the stone ages, I've created many hacks in previous versions for my own Forums but never released to public and keep it exclusive. Recently I've decided to create one of the most requested modification hack in the Arab Forums, the acient hack was called "Hack AlEhda'at" (Greetings Hack). And that's enough reason to call this one like this.
:: What is it?
A simple shout-box like for quick messages that can be displayed any where you like in Forum Home, using the great technology of AJAX we are able to post Arabic Characters correctly, although it requires PHP5.
:: Demo
http://www.adhari.com (Arabic Version Only)
:: Installation
1. Import the Product File
2. Modify the main template LOUNGEHOME to suite your forum design
3. insert the variable $lounge_home anywhere you like in FORUMHOME template
4. Upload the cron job file to includes/cron, then add a New Task that runs once daily.
(The prune limit is set to 24 hours which can be changed within the php file)
:: Change Log
14/01/2008: Added blank messages checking
05/05/2007: Hardened the code to avoid XSS, added a cron job to clean up
26/01/2007: Fixed bugs with FireFox2
25/01/2007: Fixed the Arabic Product File, submit button disabled once clicked to avoid double submissions.
MThornback
01-23-2007, 01:51 PM
Your link is broken
adhari_com
01-23-2007, 02:01 PM
Sorry, I wanted to demonstrate an English version, not done yet!
Apoco
01-23-2007, 04:12 PM
It looks realllly cool!
ArabSQuad
01-23-2007, 04:28 PM
looks awesome so far brother :)
Losha
01-23-2007, 04:34 PM
Thank you much work actually very good
أنت إنسان عظيم ومصدر فخر لا عدمناك
adhari_com
01-23-2007, 04:38 PM
Thanx a million guys ... Keep on testing please, I need to move this into Final version instead of the beta :p
Best Regards.
Terminatoronly
01-23-2007, 05:11 PM
its awsem thanks for sharing ;)
VIP66
01-23-2007, 05:59 PM
Thank you :)
jwaany
01-23-2007, 10:20 PM
Nice hack
Thanks
adhari_com
01-24-2007, 06:18 AM
I wish to see real implementation of the hack in pm please.
Thank you all installers :)
ArabSQuad
01-24-2007, 02:49 PM
umm well do u think its ok if i used it on abit big forum ?
I tried it on my testing forum
but is it ok to use it on a ( about 3000 visitors daily forum ) ??
would it effect the speed of the forum
thanks :)
Abo_ELleal
01-25-2007, 02:36 AM
thanks man
this is arabic hack
and i wish some hack for arabic languges
adhari_com
01-25-2007, 04:51 AM
umm well do u think its ok if i used it on abit big forum ?
I tried it on my testing forum
but is it ok to use it on a ( about 3000 visitors daily forum ) ??
would it effect the speed of the forum
thanks :)
Of course not bro, I'm displaying the latest 30 messages, using the built-in utilization of the vBulletin ... and also fixed the submit button to avoid double submissions!
You can even allow general visitors to post, but I'd love to know if it "did" actually causes any load. Thanx for installing ya man :)
adhari_com
01-25-2007, 04:54 AM
thanks man
this is arabic hack
and i wish some hack for arabic languges
Translation is too easy, inventing that counts doesn't really matter in which language!
Hornstar
01-25-2007, 06:18 AM
hopefully you will have an english version shortly however you said you have been dealing with vb since 1998. but on vbulletin.com it says this Copyright ©2000 - 2007, Jelsoft Enterprises Ltd. ^^ couldnt but help notice it lol
adhari_com
01-25-2007, 07:14 AM
hopefully you will have an english version shortly however you said you have been dealing with vb since 1998. but on vbulletin.com it says this Copyright ?2000 - 2007, Jelsoft Enterprises Ltd. ^^ couldnt but help notice it lol
I meant php, Thank you Mr. Detective :D
futureye
01-25-2007, 09:00 AM
its awsem thanks for sharing
I will reserve a copy for testing it.
www.surcity.net/forums
Stoebi
01-25-2007, 12:02 PM
Thank you very much. But it works not 100% with Firefox 2.0.0.1 marquee is not working with FF correctly.
I'ved changed this to:
<script type="text/javascript">
<!--
document.write('<marquee id="arab_lounge_marquee" direction="left" scrollamount="6" onmouseover="this.stop()"onmouseout="this.start()">$latestlounge</marquee>');
//-->
</script>
In function delete_lounge(loungeid) the variable lounge_but need to be set:
lounge_but = loungeid;
With Firefox; After I send a message I get a js error:
Error: eventobj.target.form has no properties
Source: http://team.xxx.org/clientscript/vbulletin_global.js?v=364
Line: 233
Can't fix at the moment. Any ideas?
With FF please try to send a message as a group with no access to use the message system.
Both templates need to be cached. They are uncached at the moment.
Regards,
Stoebi
+Fares+
01-25-2007, 02:50 PM
didnt work with me , i went to vbulletin opetion and i couldn't find it there .. i looked for arab lounge ..? v of the forum ( 3.6.4 )
VaaKo
01-25-2007, 09:27 PM
I can't find the copyright notice where you're linkin to your forum, I would like to keep the copyright notice but without the link please.
I hope you'd understand!
VaaKo
01-25-2007, 09:53 PM
/me clicks install!
adhari_com
01-26-2007, 12:33 PM
Thank you very much. But it works not 100% with Firefox 2.0.0.1 marquee is not working with FF correctly.
I'ved changed this to:
<script type="text/javascript">
<!--
document.write('<marquee id="arab_lounge_marquee" direction="left" scrollamount="6" onmouseover="this.stop()"onmouseout="this.start()">$latestlounge</marquee>');
//-->
</script>
1. Replaced this with the template itself?
In function delete_lounge(loungeid) the variable lounge_but need to be set:
lounge_but = loungeid;
2. Thank you I will fix that too.
With Firefox; After I send a message I get a js error:
Can't fix at the moment. Any ideas?
With FF please try to send a message as a group with no access to use the message system.
Both templates need to be cached. They are uncached at the moment.
3. u'll save alot of time for me if u'd help me on this?
Thanks alot.
adhari_com
01-26-2007, 12:36 PM
didnt work with me , i went to vbulletin opetion and i couldn't find it there .. i looked for arab lounge ..? v of the forum ( 3.6.4 )
Have you imported the product correctly?
which one have u used?
adhari_com
01-26-2007, 12:39 PM
Of course, you can remove the link.
adhari_com
01-26-2007, 02:11 PM
Bugs fixed with FireFox2 ... much faster browser :)
Wachtmeister
01-26-2007, 02:19 PM
Hi,
nice idea. Is it possible to have this scroller on every page? Also on a vbadvanced startpage?
Regards, Wachtmeister
salil
01-26-2007, 04:37 PM
Awesome, thanx bro..
بارك الله بك أخوي
كن بخير
+Fares+
01-26-2007, 05:04 PM
oki after importing the xml file it says next to arab loung v 1,01
+Fares+
01-26-2007, 05:08 PM
should i go to this where it says Loung settings ? coz i saw this ..
now lets say i reached this loung setting .. then whats now ? how can my ppl post msgs ?
adhari_com
01-27-2007, 01:35 PM
Hi,
nice idea. Is it possible to have this scroller on every page? Also on a vbadvanced startpage?
Regards, Wachtmeister
Of course, if u edit the plugin titled "Lounge AJAX Handler" to be hooked into the global start, as for vBadvanced don't forget to globalize the variable $lounge_home.
Hope you tell it's working :)
adhari_com
01-27-2007, 01:52 PM
should i go to this where it says Loung settings ? coz i saw this ..
now lets say i reached this loung setting .. then whats now ? how can my ppl post msgs ?
Please make sure it shows the latest version, and please read installation instruction no. 3 where it says put $lounge_home anywhere in the FORUMHOME template.
PM me if needed.
karem_bumy
01-27-2007, 04:15 PM
Thank you much work actually very good
ممتاز جدا جدا جدا اخوى
ولكن هناك فكرة للتطوير الهاك وهيةى اضافة ايكونات واسميلز
وثانى شىء ايضا هنا مشكلة
اذا كرريت الضغط على الزر الاضافة اكثر من مرة
بيحصل تكرار للكلام
adhari_com
01-27-2007, 10:56 PM
A tiny smilies panel is in mind, and please make sure u're having the updated one, it was noted before and I have done what's required to disable the button once clicked.
+Fares+
02-06-2007, 10:31 AM
worked fine thanks alot brother...
but the msgs goes a little fast any way to reduce the speed ?
i have another request... now i submitted my msg ... any way to edit it after it posted ?
adhari_com
02-06-2007, 03:47 PM
editing msgs would be wonderful of course, but too much over!
as for the speed and scrollamount you can change from the template LOUNGEHOME
Thanks Hassan for the hack. I've been looking for something like this for awhile. I've installed it on my test page.
Is it possible to control the speed and colors? Like in Atakan (https://vborg.vbsupport.ru/showthread.php?t=117942)'s mod.
Is there a limit to how many messages can be posted? Are they deleted automatically once a limit is reached?
How is the image changed that is at the beginning of the scroll? And the one between each msg?
Also, I visited your forum...very nice :) . Will you be releasing the latest posts hack (akher almawadhee3)?
Alot of questions...sorry. :o
Thanks again. (Shukran jazeelan!)
adhari_com
02-09-2007, 02:05 PM
It's really a pleasure to answer your questions, I'm sorry about not being able to control the speed as from the vBulletin Settings it's just much of a hasle and wasting memory space! You can change these things from the ScrollDelay and ScrollAmount from within the main template LOUNGEHOME.
the messages limitation is 30 and they are not deleted from the system, I will release a later version with either a cron job or just a simple SQL.
Both images can be found and changed from the LOUNGEHOME just a nice HTML Editor (Frontpage).
As for the latest thread it's simple with minor chnages by me, I'll see what I can release about that.
Thank you.
I found one image and replaced it but I couldn't find the image that's in between the messages (the icon).
So if it reaches 30 messages it won't accept anymore until the old ones are deleted by the admin?
Also, I don't understand why there is "mn" or 'from' since the posters nick will be shown next to his/her message anyway.
Thanks :)
adhari_com
02-10-2007, 04:30 PM
The icon between the msgs can be change from the plugin itself
Product Manage -> Plugins -> Arab Lounge Handler
Look for: icon
The latest 30 will be displayed.
From is meant to be "From where are you now sending" :D
Thank you very much!!!!!
Waiting for smilies to be added. :)
sebbe
02-10-2007, 10:15 PM
Nice hack dude I like it, good job.
Hi,
How do I make the font in bold?
Thanks
ahmed_a_najim
03-01-2007, 10:17 AM
æÇááå ÇÝÊÎÑÊ Èíß ÇÎæí ÔÏ Ííáß æÇä ÔÇÁ Çááå ßáäå ÏÚã Çáß ææíÇß æÇí Ôí ÊÍÊÇÌ ãÇ Úáíß ÇáÇ ÊÊÕá æÊÇãÑ
thank you man
elrafei
03-01-2007, 07:07 PM
Thank you much work actually very good
Subah
03-01-2007, 07:45 PM
الله يعطيك العافيه اخوي
Thanks alot
rezapci
03-01-2007, 08:44 PM
ولک احسنت ایییییییییییییی
Thanksss
Allan
03-01-2007, 09:51 PM
Very nice hack :)
A question, do you will add the smilies ?
It's possible a scrolling to bottom => top ?
spy90000
03-02-2007, 08:35 AM
Great one, I like't
لكن يا حبيب قلبي يا عذاري ، يا ترى في مجال انك انك تضيف له ابتسامات علشان يطلع احلى.
شيء ثاني ، يمكن يوجد عندنا الكثير من منتجات الإهداءات للمنتدى لكن ولا منتج نقدر نستخدمه داخل و خارج المنتدى ( الصفحة الرئيسية للموقع مثلا) ، اتمنى عند تطوير هذا المنتج ان يكون متميز عن الباقي بهذه الخاصية ونقدر نضيفه لصفحات خارج المنتدى .
شكراً لك ولك مني اطيب تحية
Could you please explain how to make it slower?
Thanks
Edit: Got it just need to make the text and nick in bold.
PimvanJ
03-10-2007, 07:19 AM
Nice hack pal!
Is there a way to show this only in one forum?
Thanks.
ahmednadir
03-11-2007, 05:39 AM
great hack
added it to my site
thanks alot yaman
adhari_com
03-11-2007, 01:00 PM
Could you please explain how to make it slower?
Thanks
Edit: Got it just need to make the text and nick in bold.
You can find the scrollAmount in the template which can be altered.
As for showing it in specific forum that would need custom changes.
Thanks I figured it out. My members really like this hack and so do I.
Shukran.
alqloob alsahya
03-15-2007, 03:26 AM
True brotherly talk to us and Sha pride youths representing Arabs Balvbiolten wonderful of their viewers Thank you, and continued with the creative giant Thank you
شكرا لك اخوك القلوب الساهيه
haytham
03-15-2007, 07:17 PM
ok thanks a lot..but I need this in English. Does it come in English or just Arabic?
alawee.blawee
03-21-2007, 12:50 PM
indead its awsome i have to try it
thank you so much kadi keep on it
Hi,
Thanks for the hack and support you provided. :up: :)
However, I no longer need this hack and uninstalled it. How do I remove LOUNGEHOME template?
spy_jeddah
03-29-2007, 05:07 PM
Thank you
شكراً لك جزيل الشكر
blueberry
04-02-2007, 09:35 AM
thank you...
ya3teek el3afeh... i will try it and vote for it...
this will add a new touch to the site...
adhari_com
04-07-2007, 06:37 AM
ok thanks a lot..but I need this in English. Does it come in English or just Arabic?
There are 2 products files, the other is for English.
belal_najjar
04-07-2007, 06:21 PM
thanx man
Abdo-sa
04-07-2007, 10:36 PM
Thanks for this hack I didn't install it yet.
I don't know about it if I can used it for just one forum I mean I don't want to show it in the index page. I would like to chose one forum and use it there.
Just for a single forum. does this future included ?
maamon
04-13-2007, 07:03 AM
مشكور على ملف المنتج الرائع
adhari_com
04-13-2007, 06:40 PM
showing it in a single forum needs custom code, I'd add it to the wish future list :)
Thanks for the note.
adhari_com
05-05-2007, 03:57 PM
The hack has been updated for those having issues with redirecting scripts.
Almotmaiz.Net
05-08-2007, 08:03 PM
Adhari .. Greatful mod ..
installed :D
baghdad4ever
07-21-2007, 11:29 AM
thanks adhari
حبي هل يحوي على ثغرة التحويل ام لا
ارجوا الرد يالغلا
adhari_com
09-22-2007, 01:25 AM
No, as I said it's clean any misc codes.
لا يحتوي على الثغرة أخي الكريم
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.