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)
-   -   Import Unread News from a Forum (https://vborg.vbsupport.ru/showthread.php?t=115179)

rmxs 05-10-2006 06:11 PM

DISAPEARD..
i make this change byt if i refresh my page i dont see the block like the attach file,also the global attachment block missing

Snake 05-10-2006 06:21 PM

This is very nice!

rmxs 05-10-2006 06:31 PM

I try many times and i cannot make the news appeard on the header..
Also take a look maybe there is a bug with the Global Announcement 1.2 Displays an announcement of choice on the index page of your forum.

Because after install its GONE

DJ XtAzY 05-10-2006 06:38 PM

i got this error

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

      SELECT threadid
      FROM +++++ad
      WHERE userid = 1 AND threadid IN (12778,12574,11841,11611,11289,11192,10878,10713,10361,9777,9576,9319,8612,8448,8282,8252,7909,7908,7830,7637,6856,6750,6590,6476,5666,5576,4546,4413,3878,3771,3720,3453,3381,3338,3275,3248,3100,2882,2717,2714,2550,2494,2452,2317,2291,2036,1923,1778,1673,1668,1550,1409,1397,1363,939,933,755,745,735,655,650,595,568,567,541,538,537,529,520,486,478,460,429,406,399,398,374,372,348,317,281,218,183,177,176,175,174,173,157,134,130,122,113,107,99,95,94,78,74,57,55,25,10,2);

MySQL Error  : Table 'forums.+++++ad' doesn't exist
Error Number : 1146
Date        : Wednesday, May 10th 2006 @ 03:36:53 PM


antialiasis 05-10-2006 06:57 PM

Quote:

Originally Posted by rmxs
I try many times and i cannot make the news appeard on the header..
Also take a look maybe there is a bug with the Global Announcement 1.2 Displays an announcement of choice on the index page of your forum.

Because after install its GONE

I still don't get it... do you mean the global announcement block is gone, not attachment? In that case, this hack can't have anything to do with it - I just skimmed the global announcement product file and there don't seem to be any clashing settings or variables or anything, and the template edits don't even edit the same template.

And do you definitely have some unread news (remember, any news that *you* create are read, so you either need to make a test account or get somebody else to create a new news item), are you logged in, have you made the template edit I added to the first post a while ago, and have you turned the system on in the Admin CP?

XtAsY, it looks like you haven't installed Paul_M's 'Display who has read a thread' hack (linked to in the first post).

monkeywarplane 05-10-2006 07:02 PM

Would love this plugin, will check this out later when the bugs are fixed.

Good luck

Stuart

rmxs 05-10-2006 07:09 PM

Quote:

Originally Posted by antialiasis
I still don't get it... do you mean the global announcement block is gone, not attachment? In that case, this hack can't have anything to do with it - I just skimmed the global announcement product file and there don't seem to be any clashing settings or variables or anything, and the template edits don't even edit the same template.

And do you definitely have some unread news (remember, any news that *you* create are read, so you either need to make a test account or get somebody else to create a new news item), are you logged in, have you made the template edit I added to the first post a while ago, and have you turned the system on in the Admin CP?


Everything look correct byt the BLOCK OF GLOBAL ANNOUCEMENT GONE if i unistall your Plugin appeard again...

(remember, any news that *you* create are read, so you either need to make a test account or get somebody else to create a new news item)

I forget that :)

EDIT: i check again byt nothing happent with new user(No Block)


i make again the install byt still THE BLOCK GONE


Try plz to install to your system to check this out

antialiasis 05-10-2006 07:23 PM

monkeywarplane: Oh, it DOES work if you do everything correctly. I now installed the exact product that's attached to the first post on a test forum, making exactly that template edit exactly as said, and it worked fine. XtAsY was having problems due to not having installed the plugin you need to have first, and rmxs's problem was that he didn't have any unread news. You're safe installing it as it is now.

rmxs: I installed Global Announcements on my test forum with this hack and it worked fine... =/ I don't know what's different on your forum, but it's clearly not a problem with the hack itself.

TomasDR 05-10-2006 10:34 PM

Quote:

Originally Posted by antialiasis
Oh, crap... more screw-ups...

What you're supposed to do is add $unreadnews to the bottom of the header template. It sounds odd that $unreadnews wouldn't be working, though. (You were testing it as logged in, right? And enabled the hack in the Admin CP, specified a news forum and all that?)

Maybe I had only tried $newsitems in the header template, it is working now.

Don't forget to add the " . TABLE_PREFIX . " to your select statements.

antialiasis 05-10-2006 10:39 PM

I did, unless something screwed up in attaching the new XML file.

But it's a good thing that it's working for somebody other than me at last. I can breathe now.


All times are GMT. The time now is 04:04 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.01158 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)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
  • (10)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