vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - [AJAX] SmnLikQuick v2.0 - Advanced Announcements Block (https://vborg.vbsupport.ru/showthread.php?t=172773)

Bree 03-14-2008 06:08 AM

Addon has been added.... SmnLikQuick CMPS Module... Enjoy and let me know if you have any problems... For those who have had problems with SmnLikQuick and want to use it as a Module... Try installing SmnLikQuick without the template edits, then completing the steps to install the Module...

Also... During the first edit on SmnLikQuick.... Try putting the full path to the smnlikquick_ajax.js and smnlikquick_css.css files.

Quote:

Originally Posted by NeuroLancer (Post 1463427)
Thank you this is very cool, will install it soon.

Updated version appears good in FF 2

I almost missed your post *blush* Thank you! I'm glad you like and very glad the FF thing is worked out now =0)

NeuroLancer 03-14-2008 06:40 AM

Quote:

Originally Posted by Bree (Post 1464414)
I almost missed your post *blush* Thank you! I'm glad you like and very glad the FF thing is worked out now =0)

Nevermind ;) Thanks to you for the mod, keep up the good work :)

beduino 03-14-2008 10:30 AM

Tks Bree!
Al the best
Beduino

Quote:

Originally Posted by Bree (Post 1464414)
Addon has been added.... SmnLikQuick CMPS Module... Enjoy and let me know if you have any problems... For those who have had problems with SmnLikQuick and want to use it as a Module... Try installing SmnLikQuick without the template edits, then completing the steps to install the Module...

Also... During the first edit on SmnLikQuick.... Try putting the full path to the smnlikquick_ajax.js and smnlikquick_css.css files.



I almost missed your post *blush* Thank you! I'm glad you like and very glad the FF thing is worked out now =0)


Bree 03-14-2008 10:39 AM

Beduino, YW and TY =0)

joeycano 03-14-2008 03:54 PM

Did not work for me. You can see my results at: www.thaibulletin.com/forum.

Feckie (Roger) 03-14-2008 07:00 PM

Ok I have just set up a live site, and it works, without changing any links....

Live Demo Here.

Mind you it still doesn't work on my local pc test site..



Bree Congrats awesome addition...;)

One question where do I change the ajax refresh time...........:confused:

bobster65 03-14-2008 07:01 PM

Quote:

Originally Posted by joeycano (Post 1464655)
Did not work for me. You can see my results at: www.thaibulletin.com/forum.

remove the / from the 2 lines below or use the FULL path to the URL.

Code:

<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->


bobster65 03-14-2008 07:06 PM

Quote:

Originally Posted by Feckie (Roger) (Post 1464779)
Ok I have just set up a live site, and it works, without changing any links....

Live Demo Here.

Mind you it still doesn't work on my local pc test site..



Bree Congrats awesome addition...;)

One question where do I change the ajax refresh time...........:confused:

Are you asking about the rotation time of the Tabs?

if so, that would be in the smnlikquick template.. the .init sets the time in micro seconds, just change it higher or lower to decrease or increase the intervals.

Code:

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)


Feckie (Roger) 03-14-2008 08:34 PM

Quote:

Originally Posted by bobster65 (Post 1464786)
Are you asking about the rotation time of the Tabs?

if so, that would be in the smnlikquick template.. the .init sets the time in micro seconds, just change it higher or lower to decrease or increase the intervals.

Code:

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)


yep thats it ....Thanks ;)

slmoney 03-14-2008 10:30 PM

i was wondering the same thing! thanks!

Revpolar 03-14-2008 11:23 PM

Bree, Thank you for adding modcp controls so quickly.

Bree 03-14-2008 11:28 PM

Quote:

Originally Posted by Revpolar (Post 1464963)
Bree, Thank you for adding modcp controls so quickly.

You are very welcomed Rev, it was an awesome addition I think so thank you for bringing it up... I always tend to forget about the ModCP... I will have to remember it in future mods *blush*...

Think 2.0.2 with be the usergroup permissions... probably won't be able to do it til tomorrow... I gotta give my site some attention today =0)

Hope everyone is having an awesome day!
-Bree

joeycano 03-15-2008 12:51 AM

Works great after taking out the 2: "/" indicated above.

One question, I do see loading when it is switching from one screen to the other but the loading symbol does not show up. I do recall seeing the file in the upload folder.

Thanks so much,

joeycano

Bree 03-15-2008 01:20 AM

Quote:

Originally Posted by joeycano (Post 1465014)
Works great after taking out the 2: "/" indicated above.

One question, I do see loading when it is switching from one screen to the other but the loading symbol does not show up. I do recall seeing the file in the upload folder.

Thanks so much,

joeycano

The graphic included is in upload>forums>images>misc>loading.gif

You can check/change this graphic/path in the upload>forums>clientscript>smnlikquick_ajax.js file on line 6 (Along with the "Loading..." text)..
If taking out the / in the other file worked... doing the same in this file might help as well... or you could try putting the full url...

Line 6 of smnlikquick_ajax.js
Code:

ddajaxtabssettings.loadstatustext="<img src='/images/misc/loading.gif' /> Loading..."
Hope that fixes it, let me know...

joeycano 03-15-2008 02:19 AM

The loading symbol works after taking out the "/" as suggested above.

Thanks again for such a great mod.

:)

Edit: Installed perfectly on Version 3.7.0 Beta 6

Mythotical 03-15-2008 07:12 AM

Installed on a 3.7 Beta5 live site, installation went without flaw. Great job Bree.

Ammari 03-15-2008 01:14 PM

that;s fab,,

just a question, i have arabic forum, and the writing is from left to right,
so how can i make it from right to left?

thanks

joeycano 03-15-2008 03:47 PM

Bree,

How did you get an image into the announcement?

:)

blackberry 03-15-2008 05:28 PM

woow really nice mod

thanks and keep it up

OziloZ 03-15-2008 06:45 PM

Quote:

Database error in vBulletin 3.7.0 Beta 5:

Invalid SQL:

CREATE TABLE smnlikquick (
`id` int(10) NOT NULL auto_increment,
`title` varchar(100) NOT NULL,
`message` longtext NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1 AUTO_INCREMENT=1' at line 6
Error Number : 1064
What`s the problem?

Mythotical 03-15-2008 08:55 PM

Too many semi-colon's.

Bree 03-16-2008 12:13 AM

Quote:

Originally Posted by Ammari (Post 1465358)
that;s fab,,

just a question, i have arabic forum, and the writing is from left to right,
so how can i make it from right to left?


thanks

I am soo sorry but I am bit confused on this one... You want the tabs themselves to run from right to left... or the text.... I thought about this for quite a while and managed to only confuse myself... I was actually learning Arabic for quite a while but never mastered the writing... same words but I couldn't help but write them from left to right... hence why I didn't do so well LOL In the end, I could hold a convo outloud but on paper.. nothing LOL

Quote:

Originally Posted by joeycano (Post 1465451)
Bree,

How did you get an image into the announcement?

:)

When adding a new announcement... HTML is allowed. So I simply linked to one of the graphics I already had on site (one of our smilies in that case)... I thought about adding a feature that would give the announcement their own graphic upload... like an icon where threads are concerned. I had originally decided against it because I wanted total control over the whole announcement (and where any graphics I added where)... But now I'm thinking it might be a good idea =0)

Quote:

Originally Posted by OziloZ (Post 1465597)
What`s the problem?

This is the first time we've run into an installation problem to do with the install code... Let me look into it and I will get back to you.

joeycano 03-16-2008 04:46 AM

I have an issue. When I select the "Manage Announcements" tab I only get the "Create New Announcement" box. I do not see the the top box in your screen shots where you see and edit posts.

Any suggestions???

Bree 03-16-2008 04:50 AM

Quote:

Originally Posted by joeycano (Post 1465840)
I have an issue. When I select the "Manage Announcements" tab I only get the "Create New Announcement" box. I do not see the the top box in your screen shots where you see and edit posts.

Any suggestions???

The box only shows if you have active announcements. Had you already added announcements?

joeycano 03-16-2008 04:53 AM

Yes,

I added:

test;
test II; &
test III

Bree 03-16-2008 04:54 AM

Are the announcements showing up on the site (on the userend)?

Bree 03-16-2008 04:56 AM

OziloZ, I haven't forgotten about you btw... Installing a vB 3.7 Beta 5 now so I can try to reproduce the issue... I haven't had this happen on any of my other installs

joeycano 03-16-2008 04:57 AM

Yes, the announcement show up on the front end. See: www.thaibulletin.com

Bree 03-16-2008 05:08 AM

Yikes, that's not good =0( And so far I haven't been able to recreate this issue on any of my test sites.... Can you try something for me tho? I am attaching a .zip file... It's an altered AdminCP file... could you upload it (overwriting the old) and see if the announcements then appear? You are only overwriting the exsisting upload>forums>admicp>smnlikquick.php

I took out some if clauses (the code that hides that box unless there are active announcements) -- Just need to see if that part of the coding is the exact problem. I'm sorry about this and thank you for your patience!

Always, Bree

joeycano 03-16-2008 05:14 AM

Change worked perfectly. I see the box now.

:D

Bree 03-16-2008 05:19 AM

Hmmmm --- I don't know how that happened but I'm glad it's now working for you. If you don't mind leaving that file in place til later, I will still try to locate and fix the problem with the original coding. At this point tho, if you don't have any announcements active, it's gonna give you a silly table up there *blush*. Also, while I have you here... what version php are you using?

joeycano 03-16-2008 05:39 AM

5.2.3

Bree 03-16-2008 05:49 AM

I knew you were gonna say that LOL I'm running php4 and I'm wondering if all the errors that keep coming up, that I am not able to reproduce, are because it's a 5 thing... Apparently I need to upgrade LOL Gonna ask someone smarter than I about this =0) Thanks for the info and you have an awesome night!

Always, Bree
(Who just, since posting SmnLikQuick, discovered she likes FireFox much more than she likes IE and who has no idea why she's referring to herself in third person all of a sudden)

OziloZ 03-16-2008 07:42 AM

Quote:

Originally Posted by Bree (Post 1465848)
OziloZ, I haven't forgotten about you btw... Installing a vB 3.7 Beta 5 now so I can try to reproduce the issue... I haven't had this happen on any of my other installs

thanks a lot but i've solved my problem. :)

i have removed "DEFAULT CHARSET=latin1" part from xml file. I think thats not compatible with my server.

Feckie (Roger) 03-16-2008 08:18 AM

Quote:

Originally Posted by OziloZ (Post 1465924)
thanks a lot but i've solved my problem. :)

i have removed "DEFAULT CHARSET=latin1" part from xml file. I think thats not compatible with my server.

well would you care to share what you did do....

ramsayeg 03-16-2008 10:36 AM

Hello, I'm thinking of installing this mod in order to replace the "notice hack", but is it possible to show an announcement only to specific usergroups?

For example if I want to write "why won't you join us? register today" only for the guest usergroup, will it be possible?

anarx 03-17-2008 09:43 AM

ty for the cmps module :)

but it's buggy for me ...

cagbaazee 03-19-2008 08:25 AM

Quote:

Originally Posted by bobster65 (Post 1464786)
Are you asking about the rotation time of the Tabs?

if so, that would be in the smnlikquick template.. the .init sets the time in micro seconds, just change it higher or lower to decrease or increase the intervals.

Code:

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)



Where is the file and please tell me in which folder it found. Thanks

Bree 03-19-2008 09:17 AM

Quote:

Originally Posted by ramsayeg (Post 1466016)
Hello, I'm thinking of installing this mod in order to replace the "notice hack", but is it possible to show an announcement only to specific usergroups?

For example if I want to write "why won't you join us? register today" only for the guest usergroup, will it be possible?

At this time, no but I am working on usergroup permissions (that will work great for what you are wanting to do) I fell a little behind as I have been feeling under the weather. If you mark installed, I'll send out a message when the mod is updated with that feature.

Quote:

Originally Posted by anarx (Post 1466877)
ty for the cmps module :)

but it's buggy for me ...

There's not enough room for all the announcements... when it runs outta room, it starts a new line... I'll work on doing something about that... but if there's a no break and it runs out of room, will expand the table... this could create side scroll or other icky issues.

Quote:

Originally Posted by cagbaazee (Post 1468521)
Where is the file and please tell me in which folder it found. Thanks

It's a template... AdminCP>Styles and Templates>*choose a style*>SmnLikQuick>smnlikquick

bam-met 03-19-2008 07:54 PM

I love this mod - GREAT WORK... :)


All times are GMT. The time now is 08:37 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01874 seconds
  • Memory Usage 1,840KB
  • 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
  • (5)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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