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)
-   -   Moderators Functions - Force Users to Read a Thread (https://vborg.vbsupport.ru/showthread.php?t=172155)

creative-friend 03-28-2009 07:02 PM

Quote:

Originally Posted by fr3akstar (Post 1777228)
Its in the AdminCP at the bottom of the threads section like this:

https://vborg.vbsupport.ru/external/2009/03/17.jpg

yeah i know i did everything but when i made any thread for force nothing happend
check the Screenshot

https://vborg.vbsupport.ru/external/2009/04/26.jpg

Kobra Khan 03-29-2009 06:52 PM

gr8 stuff but most of the time this doesn't work right for my members or my self
getting 404 error msg , using v 3.8.0
anyone know how to fix this, plz let me know.....thanks

geni57 03-30-2009 06:43 PM

clicking uninstall. . does not work

StuRed 04-02-2009 07:42 PM

Not working here on 3.8.1.

I did have it running on an older version.

Vitaly 04-05-2009 01:53 PM

Abe1, lack of indexes seriously f@#kup mysql server when you have "forced" threads.

Code:

ALTER TABLE `thread` ADD INDEX `force_read` ( `force_read` , `force_read_expire_date` )
Test your mods with slow queries log option "log_queries_not_using_indexes" :)


It's also possible to optimize queries. Instead of checking forced threads at each page loads, status can be cached in sessions table. For example, to check only once per hour.

HossMon 04-06-2009 09:35 AM

Quote:

Originally Posted by Vitaly (Post 1784267)
Abe1, lack of indexes seriously f@#kup mysql server when you have "forced" threads.

Code:

ALTER TABLE `thread` ADD INDEX `force_read` ( `force_read` , `force_read_expire_date` )
Test your mods with slow queries log option "log_queries_not_using_indexes" :)


It's also possible to optimize queries. Instead of checking forced threads at each page loads, status can be cached in sessions table. For example, to check only once per hour.


I believe this is exactly what I pointed out in this post.

https://vborg.vbsupport.ru/showpost....&postcount=261

Question is why does it seem to only affect some of us?

Vitaly 04-06-2009 03:20 PM

Quote:

Originally Posted by HossMon (Post 1784923)
Question is why does it seem to only affect some of us?

I guess, that affects everybody :) . There are no reasons to guess - just make your sql-server log queries without indexes, and you will see almost all suspitious hacks.

Add that index and you'll be very surprised with server load. Don't forget to compare results :)

I like Abe1's modifications and his coding style. But I'm very surprised with DB design "holes". Have published fixes for Thanks & Groan hacks in apropriate threads.

mtlcore 04-07-2009 12:53 AM

does this work on the latest?

lille L 04-07-2009 08:41 AM

Quote:

Originally Posted by c.oper (Post 1777466)
Installed! Working fine in 3.8.1 PL1

How?
I've innstalled it, and can make messages, but It dosent work out in the forum. No one is forced to anything... :D :D

BlueNinjaGo 04-07-2009 03:48 PM

Did you go to the Admin CP -> Threads and post -> Force read ...?

HossMon 04-07-2009 08:06 PM

Vitaly I hope you don't mind, but I sent you a PM regarding this issue.

HossMon 04-07-2009 09:09 PM

Thank you again Vitaly!
As for the rest of you who have this installed...
I highly recommend you run Vitaly's query on your database and create the needed index. I ran it on mine, re-enabled this hack, and walla no more high server loads or errors.

I used phpMyAdmin to run the query, which worked just fine. However, I would recommend you turn off your board prior to running it, Or do so during a period of light board use.

HossMon 04-08-2009 02:17 PM

Quote:

Originally Posted by lille L (Post 1785611)
How?
I've installed it, and can make messages, but It dosent work out in the forum. No one is forced to anything... :D :D

lille, one thing that is not explained very well...
When you create/add a new thread to be force read, in the box for thread ID, do not enter the complete link to the thread, enter only it's ID number.

For example, if you were going to 'force' this thread. You would enter ID number 172155
As for working in v3.8x, I cannot speak to that as I am running an older version.

tikichick 04-09-2009 02:33 AM

Cannot install... I get "Invalid File". Any suggestions?

update: nevermind, I was trying to install the file in the xml folder. When I added the new product using the other xml file (not in the ftp folders) it worked like a charm.

Thanks for the mod!

Farman 04-13-2009 06:04 PM

Thanks 4 sharing....I installed it on my vb 3.8.1, configured it, but nothing happen at the main page. I mean the Message is not appearing on the page for visiting the force thread. Any one tried it on 3.8.x?

trucker01 04-14-2009 05:30 AM

well i think most if not all running the latest have the same problem with this hack. :(

it installs fine you can enter message and thread id but it doesnt save it meaning it isnt showing up as saved as shown in the Pics provided. btw these are the same Pics he used in the earlier version of this hack.

Quote:

Developer Last Online: Mar 2009
and seeing that he has been last online in march i wonder if there will be any support at all in the future



i think i found what i did wrong here.

use an ftp programme and upload the folders, to the cpanel not the files within them

you would upload them to publichtml and allow overwrite


dont use the inbuild upload application


it worked for me :D

mariocaz 04-17-2009 02:57 AM

Is this will be updated ??? also is not working for me in my 3.7.5 I can?t save the threads that I want to my users force to read. :(

It is an awesome hack so please help us!!!

creative-friend 04-17-2009 11:23 AM

no 1 even helping me....

HossMon 04-18-2009 04:58 PM

mariocaz, did you read this https://vborg.vbsupport.ru/showpost....&postcount=293 and enter only the thread ID number after creating/posting the desired thread on your board?

creative-friend, I'd be happy to help with what I can. But your going to need to give us some more detailed information regarding what your issues are?

mariocaz 04-19-2009 05:07 AM

Hi HossMon, thank you for answer me!!!

Yes only I am putting the ID of the thread and I clicked on Save but is not saving nothing, I am using 3.7.6, which version are u using ??

creative-friend 04-22-2009 06:44 PM

Quote:

Originally Posted by HossMon (Post 1794014)
mariocaz, did you read this https://vborg.vbsupport.ru/showpost....&postcount=293 and enter only the thread ID number after creating/posting the desired thread on your board?

creative-friend, I'd be happy to help with what I can. But your going to need to give us some more detailed information regarding what your issues are?

When I select some thread it dont come like this
https://vborg.vbsupport.ru/external/2009/04/26.jpg

its just like that nothing happens what ever i do...
https://vborg.vbsupport.ru/external/2009/04/26.jpg

masterme 04-24-2009 12:22 PM

Same here, added only forum ID, for testing chosen the admingroup only and forumwide, did the hookup adding as writen in the instructions txt, but same as above. I run 3.6.5

mariocaz 04-24-2009 02:42 PM

Help us please!!!!

speedway 04-26-2009 06:25 PM

Same here. Was working fine on 3.7.5, upgrade to 3.8.2 an nothing. Even uninstalled and reinstalled with no luck. Help would be appreciated.

GSeybold 04-26-2009 08:02 PM

Hello
We tried this but still not working. No threads are saved. Says "Saved Successfully" but no threads apear.


Quote:

Originally Posted by HossMon (Post 1786603)
lille, one thing that is not explained very well...
When you create/add a new thread to be force read, in the box for thread ID, do not enter the complete link to the thread, enter only it's ID number.

For example, if you were going to 'force' this thread. You would enter ID number 172155
As for working in v3.8x, I cannot speak to that as I am running an older version.


speedway 04-27-2009 02:33 AM

Quote:

Originally Posted by creative-friend (Post 1796911)
When I select some thread it dont come like this
https://vborg.vbsupport.ru/attachmen...7&d=1204721719

its just like that nothing happens what ever i do...
https://vborg.vbsupport.ru/external/2009/04/26.jpg

Quote:

Originally Posted by speedway (Post 1799463)
Same here. Was working fine on 3.7.5, upgrade to 3.8.2 an nothing. Even uninstalled and reinstalled with no luck. Help would be appreciated.

Ok, all you guys having the same problem as me, a question...

Are you putting in the Thread ID or the Post ID? I am running VBSEO on my site and inadvertently put the POST id from the url and it didn't work (as above). Found the THREAD id and it DID WORK.

Moral of the story is make sure you are entering the Thread ID, not the Post ID.

Cheers

mariocaz 04-27-2009 09:59 PM

I am entering the thread ID I am very sure, because this mod was working perfectly a few time ago, but now nothing.

Please help us!!

creative-friend 04-28-2009 11:56 AM

Its Working Now...thanks

mariocaz 04-28-2009 07:15 PM

But how ??

The Realist 04-30-2009 04:52 PM

This does work.

Just add the thread ID and you then need to highlight what group has permission to view the forced thread and also highlight the post in questions section.

Once this has been done the hack works.

Regards

Bluefin221 05-01-2009 02:33 PM

This also doesn't work for me, it does not save any option or indeed show up as any of the graphics.

BlueNinjaGo 05-01-2009 06:55 PM

It worked for me w/o any edits

SVTCobraLTD 05-02-2009 03:44 PM

Installed on 3.6.11 but it does not seem to be working. The one that is supposed to be forced to be read is still saved in the admincp but it is not forcing me to read it.

Dan Clement 05-03-2009 11:41 PM

I can see this coming in handy in future. Thanks a lot! :D

SVTCobraLTD 05-05-2009 10:28 AM

Quote:

Originally Posted by SVTCobraLTD (Post 1803106)
Installed on 3.6.11 but it does not seem to be working. The one that is supposed to be forced to be read is still saved in the admincp but it is not forcing me to read it.

Anyone?

HabboLan 05-06-2009 12:21 AM

It's not allowing me to save the thread I am trying to force readers to view.

It says "Saved Successfully", but then doesn't work.

vithorius 05-06-2009 07:56 AM

:eek: I have this situation on 3.6.11:


The hack works, but NEVER stops bugging me...


I mean, once I read the thread, it should be ok, but then... It gives me again the message that "the administrator wants me to read a thread..." and again, and again, and again...

Well... just what is happening? :confused:

kjdj 05-18-2009 12:42 AM

I imported the xml through the admin panel, and then I went to FTP the files over, but I get an sql error, and I can't access the adminpanel or the site forums either.

Is there some way to reverse what I have done, or should we restore the latest backup (which is fairly old)

I guess what happened is the xml executed before the 2 folders were uploaded by FTP, so it didn't quite complete itself.

Is there a way to make the xml run again?

Thx

Total666 05-18-2009 02:14 AM

Quote:

Originally Posted by kjdj (Post 1812688)
I imported the xml through the admin panel, and then I went to FTP the files over, but I get an sql error, and I can't access the adminpanel or the site forums either.

Is there some way to reverse what I have done, or should we restore the latest backup (which is fairly old)

I guess what happened is the xml executed before the 2 folders were uploaded by FTP, so it didn't quite complete itself.

Is there a way to make the xml run again?

Thx

Do this

disable all plugins.

in includes / config.php

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

then you can disable the force thread in plug in manager ..

then remove the define('DISABLE_HOOKS', true);

kjdj 05-18-2009 03:08 AM

Well its totally hosed now, gonna need a re-install


All times are GMT. The time now is 11:32 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.03429 seconds
  • Memory Usage 1,829KB
  • 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
  • (2)bbcode_code_printable
  • (12)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