vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vbAdvanced Addon for AboutToday (https://vborg.vbsupport.ru/showthread.php?t=108274)

dropbass 09-20-2006 12:30 AM

Quote:

Originally Posted by westpointer
You are now up and running. You were really close! You just needed to set "How many rows across for $myfeeds variable?" (under admincp -> AboutToday -> Settings) to 1.

Awesome. I must of misread your intro instructions. I thought it was supposed to be zero:

This is to install an addon to vBAdvanced for AboutToday . It assumes that AboutToday is installed, the RSS Feeds are active, and "How many rows across for $myfeeds variable?" is set to greater than zero.

I really appreciate it.:D

CyberRanger 09-20-2006 12:31 AM

Enjoy! Thanks for giving it a try.

johnstires 10-29-2006 02:14 PM

How can I tweak the template so that my feeds can be separated into different modules? FOr instance I want a module that shows only my current events feeds, one for sports, one for movies, etc.

stud 12-03-2006 03:18 PM

just installed - looks great! thanks

Quote:

Originally Posted by johnstires (Post 1106824)
How can I tweak the template so that my feeds can be separated into different modules? FOr instance I want a module that shows only my current events feeds, one for sports, one for movies, etc.


i haven't tested it, but you should be able to use the $myfeeds2 and $myfeeds3 variables for this... just create different modules for each, and edit the code accordingly.

CyberRanger 12-03-2006 05:32 PM

Quote:

Originally Posted by stud (Post 1130874)
i haven't tested it, but you should be able to use the $myfeeds2 and $myfeeds3 variables for this... just create different modules for each, and edit the code accordingly.

Correct, you could have up to three different "modules" doing it that way. However, right now categories within the RSS Feeds aren`t supported.

stud 12-04-2006 05:39 PM

by default, i have this as a left column module... i enjoy the feature, however the spacing is a tad untidy... a lot of unused space

berayiwu5 03-03-2007 03:55 PM

Thanks for this add-on. Everything works fine for the stock CNN and Yahoo feeds. However, there are problems with non-latin1 character RSS feeds. No info. can be pulled from blogs that use non-latin1 or UTF-8 character sets. Is there any way to fix this? Thanks in advance.

The Bish 03-31-2007 02:54 PM

Perfect!

*Installed

kiFF 04-23-2007 11:13 PM

I can't get this to work for myfeedsdetail :( Any ideas? I already checked "Allow $myfeedsdetail to display?" and changed the code to

Quote:

<tr>
<td class="$bgclass">
$myfeedsdetail
</td>
</tr>

CyberRanger 04-25-2007 04:39 PM

Quote:

Originally Posted by kiFF (Post 1234349)
I can't get this to work for myfeedsdetail :( Any ideas? I already checked "Allow $myfeedsdetail to display?" and changed the code to

Have you also set "Include this Feed in $myfeedsdetai variable" to "Yes" for the feeds you want?

If yes, can you copy the contents of the plugin abouttoday_myfeeds here?

kiFF 04-25-2007 06:30 PM

Quote:

Originally Posted by CyberRanger (Post 1235321)
Have you also set "Include this Feed in $myfeedsdetai variable" to "Yes" for the feeds you want?

Yes.

Quote:

If yes, can you copy the contents of the plugin abouttoday_myfeeds here?
Where do I find that?

kiFF 04-25-2007 08:08 PM

This?

Code:

global $vbulletin, $myfeeds, $myfeeds2, $myfeeds3, $myfeedsdetail;

$globaltemplates = array_merge($globaltemplates, array('histtd_talkit_bit'));

if ($vbulletin->options['histtddisplaymyfeeds'] > 0)
{
        // Get the RSS Feeds
        $temp = $db->query_read("select todaytitles from " . TABLE_PREFIX . "histtd_rss where myfeeds = 1 order by name");
       
       
        if ($temp != "") {
                                       
                        $myfeeds = '<table width="100%">';
                        $i = 1;
                       
                        while ($rssfeeds = $db->fetch_array($temp))
                        {
                                if ($i == 1) // start the first row
                                {
                                        $myfeeds .= '<tr>';
                                }
                               
                                $myfeeds .= '<td width="540" valign="top"><table>'.$rssfeeds['todaytitles'].'</table></td>';               
                               
                                if ($i == $countfeeds) // finish row and start new
                                {
                                        $myfeeds .= '</tr>';
                                }
                                elseif (($i % $vbulletin->options['histtddisplaymyfeeds']) == 0)
                                {
                                        $myfeeds  .= '</tr><tr>';
                                }
                               
                                $i++;
                        }
                       
                        $myfeeds .= '</table>';
                       
        }
}

if ($vbulletin->options['histtddisplaymyfeeds2'] > 0)
{
        // Get the RSS Feeds
        $temp = $db->query_read("select todaytitles from " . TABLE_PREFIX . "histtd_rss where myfeeds2 = 1 order by name");
       
       
        if ($temp != "") {
                                       
                        $myfeeds2 = '<table width="100%">';
                        $i = 1;
                       
                        while ($rssfeeds = $db->fetch_array($temp))
                        {
                                if ($i == 1) // start the first row
                                {
                                        $myfeeds2 .= '<tr>';
                                }
                               
                                $myfeeds2 .= '<td width="540" valign="top"><table>'.$rssfeeds['todaytitles'].'</table></td>';               
                               
                                if ($i == $countfeeds) // finish row and start new
                                {
                                        $myfeeds2 .= '</tr>';
                                }
                                elseif (($i % $vbulletin->options['histtddisplaymyfeeds2']) == 0)
                                {
                                        $myfeeds2  .= '</tr><tr>';
                                }
                               
                                $i++;
                        }
                       
                        $myfeeds2 .= '</table>';
                       
        }
}

if ($vbulletin->options['histtddisplaymyfeeds3'] > 0)
{
        // Get the RSS Feeds
        $temp = $db->query_read("select todaytitles from " . TABLE_PREFIX . "histtd_rss where myfeeds3 = 1 order by name");
       
       
        if ($temp != "") {
                                       
                        $myfeeds3 = '<table width="100%">';
                        $i = 1;
                       
                        while ($rssfeeds = $db->fetch_array($temp))
                        {
                                if ($i == 1) // start the first row
                                {
                                        $myfeeds3 .= '<tr>';
                                }
                               
                                $myfeeds3 .= '<td width="540" valign="top"><table>'.$rssfeeds['todaytitles'].'</table></td>';               
                               
                                if ($i == $countfeeds) // finish row and start new
                                {
                                        $myfeeds3 .= '</tr>';
                                }
                                elseif (($i % $vbulletin->options['histtddisplaymyfeeds3']) == 0)
                                {
                                        $myfeeds3  .= '</tr><tr>';
                                }
                               
                                $i++;
                        }
                       
                        $myfeeds3 .= '</table>';
                       
        }
}

if ($vbulletin->options['histtddisplaymyfeedsdetail'] > 0)
{
        // Get the RSS Feeds
        $temp = $db->query_read("select `description` from " . TABLE_PREFIX . "histtd_rss where myfeedsdetail = 1 order by name");
       
       
        if ($temp != "") {
                                       
                        $myfeedsdetail = '<table width="100%">';
                        $i = 1;
                       
                        while ($rssfeeds = $db->fetch_array($temp))
                        {
                                if ($i == 1) // start the first row
                                {
                                        $myfeedsdetail .= '<tr>';
                                }
                               
                                $myfeedsdetail .= '<td valign="top">'.$rssfeeds['desc'].'</td>';               
                               
                                if ($i == $countfeeds) // finish row and start new
                                {
                                        $myfeedsdetail .= '</tr>';
                                }
                                elseif (($i % $vbulletin->options['histtddisplaymydetail']) == 0)
                                {
                                        $myfeedsdetail  .= '</tr><tr>';
                                }
                               
                                $i++;
                        }
                       
                        $myfeedsdetail .= '</table>';
                       
        }
}


CyberRanger 04-26-2007 02:14 PM

That looks good. Can you PM me your site url along with an admin login and password? I'll check it out for you.

x YNWA x 06-13-2007 12:07 PM

Erm which module Do I make?
BBcode, template or php? It doesnt say in the instructions, just says create a module, cheers

CyberRanger 06-13-2007 12:25 PM

Quote:

Originally Posted by x YNWA x (Post 1267603)
Erm which module Do I make?
BBcode, template or php? It doesnt say in the instructions, just says create a module, cheers

Quote:

In vBa CMPS, Add Module - Template.
:) enjoy

x YNWA x 06-13-2007 01:01 PM

Sorry my mistake! I got it on the homepage now, but I have 1 problem with it on my forum page its www.pesforum.co.uk/forum

Basically at the bottom all the feeds are one big list, is there a way I can get them into columns side by side to each other, I know I can do this for the variable option but doesnt give the option for the default settings, thanks for the help

x YNWA x 06-13-2007 01:04 PM

Also another question is how do I setup the "Include this Feed in $myfeeds2 variable" and "Include this Feed in $myfeeds3 variable" options?

Would like rss feeds about something else say at the bottom of my homepage to go with the ones on the right, how would I add the no2 variable and no3 into the portal? thanks

redskins_43 06-22-2007 11:41 PM

i installed the main hack and about to install this one but am lost as to what the variable should be, greater than '0'?

"It assumes that AboutToday is installed, the RSS Feeds are active, and "How many rows across for $myfeeds variable?" is set to greater than zero."

i also had trouble viewing feeds using the main hack. sorry for posting here. thanks!!

redskins_43 06-23-2007 10:26 AM

well i changed it to 4 and i tried to install this hack and got this:

Database error in vBulletin 3.6.7:

Invalid SQL:

SELECT *
FROM template
WHERE title = 'adv_portal_adv_portal_myfeeds'
AND styleid IN();

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 ')' at line 4
Error Number : 1064

CyberRanger 06-27-2007 07:10 PM

Quote:

Originally Posted by redskins_43 (Post 1274546)
well i changed it to 4 and i tried to install this hack and got this:

Database error in vBulletin 3.6.7:

Invalid SQL:

SELECT *
FROM template
WHERE title = 'adv_portal_adv_portal_myfeeds'
AND styleid IN();

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 ')' at line 4
Error Number : 1064

PM me your site url along with an admin login and password and I'll check what you have going on.

redskins_43 06-27-2007 07:55 PM

thanks a million...i just sent you the pm with that detail...

j

redskins_43 06-27-2007 08:51 PM

Quote:

Originally Posted by CyberRanger (Post 1277902)
PM me your site url along with an admin login and password and I'll check what you have going on.

can you let me know when you logoff? i have another person who is helping with formatting the site....

thanks kindly for your assistance.

j

redskins_43 06-28-2007 07:17 PM

hello cyberranger...i appreciate your help and just pm'd ya....fyi.

thanks again.

j

demojames 07-19-2007 03:52 AM

After doodling around I finally figure everything out. Thanks!

towermatt 07-19-2007 09:17 PM

I am having a rough time with this. I feel like I'm pretty good at reading instructions (not to mention they are very straight forward) but I get this error when trying to create the module template.

Database error in vBulletin 3.6.5:

Invalid SQL:

SELECT *
FROM template
WHERE title = 'adv_portal_myfeeds'
AND styleid IN();

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 ')' at line 4
Error Number : 1064

I have the How many rows across for $myfeeds variable? set to 2

and Include this Feed in $myfeeds variable? set to yes

I assumed it worked for 3.6.x but that may be the problem now that I think about it

towermatt 07-25-2007 03:18 PM

I was able to fix this.

Had to create the template under admincp>styles and templates>add new template

put the content in there

then create the mod.

cesar829 09-20-2007 05:13 PM

I'm using vbadvanced b3.0 rc2 and can't see anything inside. Need help...Thanks...

CyberRanger 09-20-2007 06:34 PM

Quote:

Originally Posted by cesar829 (Post 1343269)
I'm using vbadvanced b3.0 rc2 and can't see anything inside. Need help...Thanks...

I'm checking it. I'm stumped myself right now. The settings look fine but I can't get the variable to print out. Let me keep looking.

cesar829 09-23-2007 06:19 PM

For now I have disable the add-on. Thanks CyberRanger for looking into it.

Networknutz 12-09-2007 02:19 AM

I just added this to my site and followed all the instructions to a T but still can't get the feeds to show up in the template box.

Is there any conflicts with latests vbulletin and vbadvanced programs?

advanced_help 02-22-2008 04:48 PM

Quote:

Originally Posted by cesar829
I'm using vbadvanced b3.0 rc2 and can't see anything inside. Need help...Thanks...
Quote:

Originally Posted by CyberRanger (Post 1343320)
I'm checking it. I'm stumped myself right now. The settings look fine but I can't get the variable to print out. Let me keep looking.

Same problem, it doesn't work in Vbadvanced 3.0 RC2 !
Any solution ?:confused:

bada_bing 06-18-2008 06:07 PM

Does anyone know how to make a this work for VBPORTAL

crazymilk 07-17-2009 08:04 AM

Quote:

Originally Posted by Sooner95 (Post 905434)
Here you are.

The box that's titled Bulldog News. just nothin in it. Rss feeds work becuase they work on my main forums page.


this is the same for me can you help ranger?


All times are GMT. The time now is 01:37 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.01441 seconds
  • Memory Usage 1,844KB
  • 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
  • (1)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)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