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)

bobster65 06-26-2008 11:45 AM

Quote:

Originally Posted by DjEddie (Post 1559367)
Question:

Is it possible to include something where you can call the Last topics made in a certain forum to show in the tabs and update itself when a new topic is made in that forum?

Thanks :)

You can use my content files ( http://www.vbadvanced.com/forum/showthread.php?t=25189 ) from this mod (with a little minor editing) with this, since this is driven of that lol .. but ya, you can and its being done.

There are probably going to be some new features with this as soon as Bree gets back online. KK and I have a list ready for her lol.

douffle 06-26-2008 12:59 PM

Thank you very much. I didn't see that post before. Works GREAT now.

Thanks again.

DjEddie 06-26-2008 10:56 PM

Quote:

Originally Posted by bobster65 (Post 1559485)
You can use my content files ( http://www.vbadvanced.com/forum/showthread.php?t=25189 ) from this mod (with a little minor editing) with this, since this is driven of that lol .. but ya, you can and its being done.

There are probably going to be some new features with this as soon as Bree gets back online. KK and I have a list ready for her lol.

Thanx for that bobster, this is really a good mod, possibilities are endless, i'm lookin at put our radio panel we've made inside it.. just needs a fiddle about with .. but getting there.

Thanks again, *awaits next version* :)



Hi bobster, I've looked through the link you gave me, quick questions...

Basically, would I have to install the whole thing for it to work or could I take the thread php file and upload it and have a tab point to it...so which code would i use to do that?. . or is there another way round it?

Thanks

Dennis Kaczor 06-28-2008 08:21 PM

Ok running VB 3.72 and a friend brought this program to my attention.

Installed and when I go to add a message I get this SQL error message.

Warning: mysql_query() [function.mysql-query]: Access denied for user: 'torontod@localhost' (Using password: NO) in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/smnlikquick.php on line 51


Even if I add a message, then I don't get a message block like I have seen, and if I add another message it does not display right.... Like this
  • Test1
  • Test2

Any ideas? I would love to see this one work.

King Kovifor 06-28-2008 08:35 PM

Quote:

Originally Posted by Dennis Kaczor (Post 1561525)
Ok running VB 3.72 and a friend brought this program to my attention.

Installed and when I go to add a message I get this SQL error message.

Warning: mysql_query() [function.mysql-query]: Access denied for user: 'torontod@localhost' (Using password: NO) in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/smnlikquick.php on line 51


Even if I add a message, then I don't get a message block like I have seen, and if I add another message it does not display right.... Like this
  • Test1
  • Test2

Any ideas? I would love to see this one work.

It cannot access your database from your supplied information. I wouldn't see why if your forums worked.

And double check the CSS path.

bobster65 06-28-2008 08:56 PM

Quote:

Originally Posted by DjEddie (Post 1559969)
Hi bobster, I've looked through the link you gave me, quick questions...

Basically, would I have to install the whole thing for it to work or could I take the thread php file and upload it and have a tab point to it...so which code would i use to do that?. . or is there another way round it?

Thanks

No, you wouldn't install the whole thing, just use the content files ie, recentthreadsexp2.php for example and point a tab to it. You would do this manually in the template (for now). King K and I are working on something right now that we may talk Bree into using here which will allow specific additional content modules to be added to this as well..

Here is how to add an additional Tab for an external content file (s)

EDIT the smnlikquick TEMPLATE

I manually inserted an LI tag (IN RED) which will create an addition Tab .. all you need to do is create a content file, upload it, change the name of it in the line below, name your tab and yer golden. Works well with all the content files I have made for AJAX Tabs .. you just need to remark out the calls to any CMPS files that are not being used..

Code:

<table class="tborder" cellpadding="0" cellspacing="0" width="100%" align="center" border="0">
        <tr>
                <td class="alt1">
                        <div id="tabs" class="indentmenu">
                                <ul>
                                $slq_bit
                                <li><a href="tabcontentfile.php" rel="tabcontainer">TAB NAME</a></li>
                                </ul>
                                <br style="clear: left" />
                        </div>
                        <div id="divcontainer" style="border:0px; width:97%; padding: 6px; margin-bottom:1em">
                        </div>

<script type="text/javascript">

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

</script>

                </td>
        </tr>
</table>

<br />


Dennis Kaczor 06-28-2008 09:48 PM

Quote:

Originally Posted by King Kovifor (Post 1561532)
It cannot access your database from your supplied information. I wouldn't see why if your forums worked.

And double check the CSS path.

I had put the full path in there and that did not work out, but I removed the / slash and now I get the blocks and see the two messages.

But I don't understand the SQL errors that I have listed. Error Messgae The requested URL /forums/admincp/function.mysql-query was not found on this server.

Here is a screen capture of where the errors occur, is there anything else that you would need from me to sort out this problem?


http://www.icurdigital.com/dennis/sql_error.jpg

Sorting out this stuff is my weak area big time.

King Kovifor 06-28-2008 10:38 PM

The first error says it cannot establish a connection with your database. Does vBulletin give you this error?

Dennis Kaczor 06-28-2008 11:15 PM

Quote:

Originally Posted by King Kovifor (Post 1561613)
The first error says it cannot establish a connection with your database. Does vBulletin give you this error?

No I don't get that error message for vBulletin at all. I checked my emails and there was SQL errors reported for VB.

But here is the ones from your software. I hope that this will be a clue for you.

Database error in vBulletin 3.7.1:

Invalid SQL:
SELECT * FROM `smnlikquick` WHERE `status`='1' ORDER BY `dis_order`;

MySQL Error : Table 'torontod_vb_data.smnlikquick' doesn't exist
Error Number : 1146
Request Date : Saturday, June 28th 2008 @ 11:12:52 AM
Error Date : Saturday, June 28th 2008 @ 11:12:52 AM
Script : http://www.icurdigital.com/forums/
Referrer :
IP Address : 99.234.69.7
Username : Admin
Classname : vB_Database_MySQLi
MySQL Version : 5.0.45-log

Thanks for your help on this issue

King Kovifor 06-29-2008 01:51 AM

Your table was never created. Try exporting and reimporting your product.

DjEddie 06-29-2008 09:09 AM

Quote:

Originally Posted by bobster65 (Post 1561545)
No, you wouldn't install the whole thing, just use the content files ie, recentthreadsexp2.php for example and point a tab to it. You would do this manually in the template (for now). King K and I are working on something right now that we may talk Bree into using here which will allow specific additional content modules to be added to this as well..

Here is how to add an additional Tab for an external content file (s)

EDIT the smnlikquick TEMPLATE

I manually inserted an LI tag (IN RED) which will create an addition Tab .. all you need to do is create a content file, upload it, change the name of it in the line below, name your tab and yer golden. Works well with all the content files I have made for AJAX Tabs .. you just need to remark out the calls to any CMPS files that are not being used..

Code:

<table class="tborder" cellpadding="0" cellspacing="0" width="100%" align="center" border="0">
        <tr>
                <td class="alt1">
                        <div id="tabs" class="indentmenu">
                                <ul>
                                $slq_bit
                                <li><a href="tabcontentfile.php" rel="tabcontainer">TAB NAME</a></li>
                                </ul>
                                <br style="clear: left" />
                        </div>
                        <div id="divcontainer" style="border:0px; width:97%; padding: 6px; margin-bottom:1em">
                        </div>

<script type="text/javascript">

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

</script>

                </td>
        </tr>
</table>

<br />


Thanks for this, got it all working now and it helped me adding my radio stations in there too, really appreciate it thank you :)

And a couple more questions lol,

i want to have the tabs colored before they get selected and to change the red gradient when they are selected, this might of been mentioned before somewhere but I can't see it for the life of me.

and last question, with the recentthreads php file, i want to take some info out so i only have one line...

ie i want to take out topic starter (2nd Line) date when topic made (3rd line) and next column take out the last posters name. so i just have 1 line of info across the whole table.

also can i change this so its latest thread created and not last thread posted in ?

Thanks for all ur help on this..:)

King Kovifor 06-29-2008 02:14 PM

Quote:

Originally Posted by DjEddie (Post 1561886)
Thanks for this, got it all working now and it helped me adding my radio stations in there too, really appreciate it thank you :)

And a couple more questions lol,

i want to have the tabs colored before they get selected and to change the red gradient when they are selected, this might of been mentioned before somewhere but I can't see it for the life of me.

and last question, with the recentthreads php file, i want to take some info out so i only have one line...

ie i want to take out topic starter (2nd Line) date when topic made (3rd line) and next column take out the last posters name. so i just have 1 line of info across the whole table.

also can i change this so its latest thread created and not last thread posted in ?

Thanks for all ur help on this..:)

I can't find the file or I would have edited it for you.

DjEddie 06-29-2008 02:23 PM

Hi Kovifor,

I've added the unedited file as an attachment, appreciate it if you could look for us,

Thank you :)

King Kovifor 06-29-2008 02:38 PM

What do you want taken out?

DjEddie 06-29-2008 02:46 PM

Hi, i'd like taken out please:

Topic Starter
Date When topic made
Last poster

And not sure if this can be done, but i'd like it to Latest threads made, with the newest at the top, not showing the Latest thread that has been posted in,

Thank you :)

King Kovifor 06-29-2008 02:59 PM

Try the attachment. :)

DjEddie 06-29-2008 03:19 PM

Hi, thanx for the quick reply

Its now showing, Topic title, thread starter and data & time when topic started (in first column) other colums arent there.. . <--- the last 2 fields if possible taken off leaving just topic title ...

and the other stuff put back on lol ie Last Post - Replies - Forum columns... so its still in its table but with the last posters name taken out of the last post column

so it all ends up on 1 line on 1 row ...

King Kovifor 06-29-2008 03:22 PM

So you want most of the data, but everything to be on one line?

DjEddie 06-29-2008 03:27 PM

Everything on one line ... data to be included and in the columns is:

Topic Title, - Last Post Time (only) - Replies - Forum Name <--- that info only, so it only uses 1 line per thread..

:) thanks :)

Dennis Kaczor 06-29-2008 03:34 PM

Quote:

Originally Posted by King Kovifor (Post 1561698)
Your table was never created. Try exporting and reimporting your product.

Did that, and not change in the errors seen. I checked and looked at the database and the table is in there, and I was able to view the 2 test messages in there as well.

If I uninstall, will it remove the table from the database? And maybe start from scratch one more time? even removing the upload files to the server as well? Unless you have any other ideas that I can try.

I check to see if the table was there before the export and inport and it was there.

Thanks for the help. And I hope to get this going as I have a use to put this in CMPS as well, but need to correct this issue before hand. Thanks again

King Kovifor 06-29-2008 04:28 PM

Yes, an uninstall should remove the table.

Dennis Kaczor 06-29-2008 04:49 PM

Quote:

Originally Posted by King Kovifor (Post 1562192)
Yes, an uninstall should remove the table.

OK I have uninstalled this program and I will leave it for know and try it on Monday and see if I can make ground with this program. It's one that I would love to have added to my system.

Thanks

DjEddie 07-01-2008 04:51 PM

Hi,

I';ve done all what I needed to do in previous posts apart from the coloring of the tabs.

I've been throught the css file and changed all the colors around, but nothing changes when I load the site back up. Any ideas, or would you think something is over riding it?

Thanks

bobster65 07-01-2008 05:22 PM

Quote:

Originally Posted by DjEddie (Post 1564109)
Hi,

I';ve done all what I needed to do in previous posts apart from the coloring of the tabs.

I've been throught the css file and changed all the colors around, but nothing changes when I load the site back up. Any ideas, or would you think something is over riding it?

Thanks

can we have a link to your site?

DjEddie 07-01-2008 06:04 PM

i'll pm u the link :) thanx

BeerLuver 07-02-2008 05:14 AM

I just noticed today an odd issue with using this mod. When this mod is installed and you have ANY announcements on it, the main RSS feed for your forums will append the LAST or most recent announcement's title to your RSS feed title.

For example, my RSS feed should have a title of Creeight.org, but since I have an announcement with this mod up titled Welcome... my RSS feed now reads Creeight.org - Welcome. I wanted to mention this in hopes of any future updates or work on this mod, that this potential lil issue be looked into and hopefully resolved somehow. I guess it's not such a big deal, but for those who want just a simple RSS feed title to be their site's title itself and nothing added on, then it might be a concern heh. Great job so far on the extra support from some of the members helping with this mod though :)

slick368 07-02-2008 07:03 AM

Okay. I finally got everything to display in tabs format instead of bullets. The only problem that remains is this. Once I loaded the CMPS mod, the panels display, but they kick the rest of the center column's contents to the bottom of the page below where the left column's content ends.

This is a problem as I want the tabbed panels to be the first item on the center column. This problem did not occur before I loaded the CMPS mod. The panels appeared as the first item on the page with all of the other content loading below it properly. It was only after it was loaded as a CMPS module that the problem appeared. Any ideas?

Thanks!

bobster65 07-02-2008 01:54 PM

Quote:

Originally Posted by slick368 (Post 1564570)
Okay. I finally got everything to display in tabs format instead of bullets. The only problem that remains is this. Once I loaded the CMPS mod, the panels display, but they kick the rest of the center column's contents to the bottom of the page below where the left column's content ends.

This is a problem as I want the tabbed panels to be the first item on the center column. This problem did not occur before I loaded the CMPS mod. The panels appeared as the first item on the page with all of the other content loading below it properly. It was only after it was loaded as a CMPS module that the problem appeared. Any ideas?

Thanks!

There are some issues with the CMPS Module that Bree will be addressing when she gets back online.

In the mean time, can you post some screen shots so we can see whats going on or provide us a link to your site so we can "see" it .. much easier that way.. if you don't want to post your site publically, then PM one of us (Bree, King Kovifor or myself)

slick368 07-02-2008 02:16 PM

Here is the screenshot you asked for. Notice the bar titled Database & Coding: Test. This should be right under the tabbed panel. The url to my site is forums.gamers-lair.net. Thanks for your help!

bobster65 07-02-2008 02:25 PM

Quote:

Originally Posted by slick368 (Post 1564878)
Here is the screenshot you asked for. Notice the bar titled Database & Coding: Test. This should be right under the tabbed panel. The url to my site is forums.gamers-lair.net. Thanks for your help!

Did you check clean output for the module?

Namaless 07-02-2008 11:13 PM

Dear Bree, Bobster65 and King Kovifor, I have added usergroup permission to view annoucements, autotemplate, timer setting and persistent tab setting to your modification.

Now request if possible to post here the my version for releasing official 2.0.5 version..

Regards.

slick368 07-03-2008 12:52 AM

I checked the clean output option, and when I do, the module disappears altogether. I then de-select the clean output option and the module re-appears and everything is back in the same state that it was before.

bobster65 07-03-2008 01:33 AM

Quote:

Originally Posted by slick368 (Post 1565403)
I checked the clean output option, and when I do, the module disappears altogether. I then de-select the clean output option and the module re-appears and everything is back in the same state that it was before.

are you using the default cmps module wrapper? If not, I will give you an alt module wrapper to use with it.. that should do the trick ..

slick368 07-03-2008 03:10 AM

Okay... I had the default module wrapper activated. I turned it off and it fixed the problem. If you have an alternate wrapper I can use, that would be great, as the default seems to break things.

Thanks for the tip!

Quote:

Originally Posted by bobster65 (Post 1565425)
are you using the default cmps module wrapper? If not, I will give you an alt module wrapper to use with it.. that should do the trick ..


DoB Rhapsody 07-03-2008 04:42 AM

I have this running on my site right now. I have 2 announcements at the moment, The problem is that when the page loads it loads the module fine but on the second re-load it will load the same announcement instead of moving on to the second.

bobster65 07-03-2008 12:33 PM

Quote:

Originally Posted by slick368 (Post 1565454)
Okay... I had the default module wrapper activated. I turned it off and it fixed the problem. If you have an alternate wrapper I can use, that would be great, as the default seems to break things.

Thanks for the tip!

If it works without the default wrapper, yer good to go.. no need for an alt wrapper :cool:

bashy 07-03-2008 03:00 PM

Hi, Thanks for this hack it looks great..

I have installed it yet it looks nothing like your demo

Please see my forum here Just below the chatbox I uploaded all files and kept directory structure
Import the product and did the 2 template edits, yet sommat is amiss :(

Any ideas please, cause i was hoping it would look like the demo?

bobster65 07-03-2008 03:19 PM

Quote:

Originally Posted by bashy (Post 1565885)
Hi, Thanks for this hack it looks great..

I have installed it yet it looks nothing like your demo

Please see my forum here Just below the chatbox I uploaded all files and kept directory structure
Import the product and did the 2 template edits, yet sommat is amiss :(

Any ideas please, cause i was hoping it would look like the demo?

the script isn't finding the CSS ..

Edit the FORUMHOME Template and in the <head> section, look for this..

Code:

<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">


Change to this..

Code:

<link rel="stylesheet" type="text/css" href="http://www.bashys-place.com/forums/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="http://www.bashys-place.com/forums/clientscript/smnlikquick_ajax.js">


bashy 07-03-2008 03:24 PM

Thank you very much for the quick response and that worked great..
I take it you cant use html markup in it, cause that dont seem to work?

bobster65 07-03-2008 03:36 PM

Quote:

Originally Posted by bashy (Post 1565909)
Thank you very much for the quick response and that worked great..
I take it you cant use html markup in it, cause that dont seem to work?

I believe that is something that Bree or KK is working on. I'll let them answer that for ya ;)


All times are GMT. The time now is 03:42 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.02665 seconds
  • Memory Usage 1,868KB
  • 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
  • (4)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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