vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Global Threads: The Next Generation for VB4 by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=279156)

BrightStar 03-24-2012 09:16 PM

I have installed it on my other forums and it doesnt seem to give any options in thread menu. That forum is VB 4.0.5....does it work with 4.0.x series?

BirdOPrey5 03-24-2012 09:30 PM

Quote:

Originally Posted by BrightStar (Post 2312939)
I have installed it on my other forums and it doesnt seem to give any options in thread menu. That forum is VB 4.0.5....does it work with 4.0.x series?

I had it working on 4.0.8 with the manual template edits that I specify in the instructions- did you try the manual edits?

BrightStar 03-25-2012 12:10 PM

Yeah have tried adding this bit

Quote:

<vb:if condition="$vboptions['bop5gt_en']">
<li><label for="cb_makeglobal"><input type="checkbox" name="bop_global" id="cb_makeglobal" value="1" {vb:raw checked.bop_global} tabindex="1" /> <vb:if condition="$show['bop_global']">{vb:rawphrase bop5_gt_keep_thread_global}<vb:else />{vb:rawphrase bop5_gt_make_thread_global}</vb:if></label></li>
</vb:if>
Nothing shows up in the menu :(

BirdOPrey5 03-25-2012 12:36 PM

That's not the manual edit needed for the menu, that's for the box when making a new thread at the bottom.

For the menu it is the 3rd (and required) edit:

Directly from the template edit instructions:

Quote:

3) If you are running any VB versions 4.1.7 or BELOW make the following edit.

Edit "SHOWTHREAD" Template

Find Code:

Code:

<li><label><input type="radio" name="do" value="removeredirect" tabindex="9" /> {vb:rawphrase remove_redirects}</label></li>
                                                        </vb:if>


Below it Add:

Code:

{vb:raw template_hook.showthread_adminoptions}


Mukashi 03-31-2012 11:33 AM

Noticing an odd little error. Guessing it's just a quick edit, but figured I should bring it to your attention.

With that globe image in the notification that goes in a thread, it won't show unless you upload that image to the /misc/ directory of that specific skin, if you have that specified. But the globe image does show fine next to the thread in the forumdisplay. Shouldn't it just be looking in the main images/misc directory regardless?

BirdOPrey5 03-31-2012 03:12 PM

No because in theory you could have a blue style where you would want to provide an alternative "globe" icon that would show up better on your blue style.

Personally I think the globe icon is nice on most backgrounds that why I use it, but it is possible someone would need to customize it by style.

So while annoying, I agree- working as designed.

Alan_SP 04-05-2012 08:46 PM

For some reason I don't have globe icon in thread name. Tried to use both positions, left and right. Just noticed this.

EDIT: Sorry, needed to do manual template edit. Now everything works fine.

Alan_SP 04-06-2012 03:43 PM

Just noticed, there's no notice in moderator log about changing status of thread to or from global. Could you maybe add code that changes of global status are entered in moderator log?

BirdOPrey5 04-06-2012 07:32 PM

Yes, I can add those in... Have got them working already, just need to test it a bit and polish off for a release. Soon... today or tomorrow. :up:

BirdOPrey5 04-06-2012 09:24 PM

Updated to version 1.02- All global thread functions now logged in moderator logs.

Edit- Updated to 1.03 for consistent numbering with the Gold version.

Alan_SP 04-06-2012 09:38 PM

Thanks. Tested it and it works. :up:

vetty 04-06-2012 11:28 PM

Hello BirdOPrey5,

Just now I received an email notification about the latest version.
What should I do now ? , I mean how should I upgrade ?
Should I uninstall my previous mode or overwrite by ftp,

What should I do?

Thank you.

BirdOPrey5 04-07-2012 01:37 AM

vetty,

Simply download the new version (1.02) and follow the upgrade instructions in the info.txt file.

The Upgrade instructions are exactly the same as the original installation instructions except you now have to give permission to overwrite the existing file, and permission to overwrite when importing the xml file from product manager.

DO NOT UNINSTALL.

CuteC@t 04-18-2012 10:26 AM

@BirdOPrey5

Thanks for the nice mode! however i just reached from kindergarden to grade 1 and that was also with your help in other thread....need help, that global icon image is not working & i don't know anything by my own.

BirdOPrey5 04-18-2012 12:11 PM

Do you have a customized style? Can I get a link to your forum?

drchinh 04-19-2012 03:54 AM

@BirdOPrey5:
Thank you so much, I have seen this mod for a long time
I will try to use it now

dawges 04-19-2012 04:43 AM

Sweet, thanks. I no longer have to make duplicate threads.

CuteC@t 04-19-2012 05:59 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2321257)
Do you have a customized style? Can I get a link to your forum?

Sure ! Link

BirdOPrey5 04-19-2012 10:46 AM

Quote:

Originally Posted by CuteC@t (Post 2321487)
Sure ! Link

CuteC@t,

I see the mod is working the problem is the image file wasn't uploaded to the correct location.

Make sure you've uploaded the included .png file to your /images/misc/ directory.

For example this is the path to what should be your globe icon:

Code:

http://www.pkviews.com/forum/images/misc/global.png
But if I go to that URL no file is found.

I know you said you are new to this- did you attempt to use FTP to upload the image?

Alan_SP 06-09-2012 08:01 PM

I noticed problem with logging actions.

Whenever user who has rights (i.e. supermoderators and admins) to make thread global posts a new post, there's action written in moderator log: Undo Global Thread on New Post.

Even if thread wasn't global at all, even if it is just posting of a new post, this is logged in moderator log.

Could you make that only actual changes of thread's global status are logged in moderators' log? Or, if it couldn't be achieved, I'd prefer to disable logging altogether.

BirdOPrey5 06-10-2012 10:58 AM

Looking through my moderator logs I'm not seeing this- certainly not on every post, I made a couple to test.

Was there any other pattern you noticed to this happening?

To disable the logging in this case go to the Admin CP -> Plugin Manager

Edit the Plugin: Make Global on New Reply [OK]

It's a small plugin, find the line:

Code:

      log_moderator_action($threadinfo, '', "Undo Global Thread on New Post");
And comment it out:

Code:

      //log_moderator_action($threadinfo, '', "Undo Global Thread on New Post");
There's another log line above this one if you want to comment that out too it's fine.

Alan_SP 06-10-2012 10:06 PM

Thanks, that did the trick (obviously it will). :)

Anyway, I tested it a bit further. It happens only when I use advanced editor, i.e. I don't use quick reply. If I use quick reply, there's no action in moderators' log. But with advanced editor (using buttons Reply to thread (I removed java script ID, so first click on buttons Reply to thread goes directly to advanced editor) or going to quick reply and then choosing advanced editor) it logs it.

Please, try posting with advanced editor and see if your posts get logged.

BirdOPrey5 06-11-2012 10:36 AM

Ahh, thank you, I will keep playing with it and come up with a fix shortly.

Alan_SP 06-11-2012 08:14 PM

Thanks. I was thinking about using another check, if thread was global or not. If not, skipping logging altogether, or if it was global before, than logging action.

Or, disabling options to change global status altogether when posting new post or thread and using only inline moderation or administrative tools. This is good enough for me (sometime some threads were (un)made global by mistake, so I made template changes).

BirdOPrey5 06-14-2012 12:12 AM

Good idea Alan.

Added new version, 1.1 - Fixes the moderator log issues and new option to disable the check boxes on new reply.

John Lester 06-22-2012 03:36 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2309856)
A background color change was an option I was working on but cut it out because things were getting a little too complex- but it is something I will revisit.

Just curious if you've revisited this yet? Either way I will be installing it over the weekend :)

BirdOPrey5 06-23-2012 12:45 PM

not yet.

John Lester 06-27-2012 11:43 AM

Installed and loving it :)

John Lester 06-28-2012 06:28 AM

Hey BOP5 one quick question, how would I go about putting the notice under the first post instead of above? Alternatively can it be placed as the first line of the first post (without copy and paste :D )?

BirdOPrey5 06-28-2012 10:33 AM

When you say notice you mean the notice that it is a global thread?

In settings/options there is an option to show the notice below the thread... that is as close as it comes. Of course it is possible to move the notices around, if you know what you're doing- but it's not something I'm going to support.

John Lester 06-28-2012 12:54 PM

Yea I've been toying with it on the test site and I'll get it how I want it sooner or later :D

ericwirtanen 07-05-2012 03:17 PM

Database error in 4.20

Quote:

Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT COUNT(*) AS threads

FROM thread AS thread

/*
WHERE thread.forumid = 2
AND sticky = 0

AND visible IN (0,1,2)


AND lastpost >= 1338912865
*/ WHERE forumid IN (2) AND sticky = 0 AND visible IN (0,1,2) AND lastpost >= 1338912865OR bop_global = 1
/* AND sticky = 0 */

AND visible IN (0,1,2)


AND lastpost >= 1338912865;

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 'bop_global = 1
/* AND sticky = 0 */

AND visible IN (0,1,2)
' at line 13
Error Number : 1064
Request Date : Thursday, July 5th 2012 @ 04:14:25 PM
Error Date : Thursday, July 5th 2012 @ 04:14:26 PM
Script : http://www.nohomers.net/forumdisplay.php?2
Referrer : http://www.nohomers.net/forum.php
IP Address : 75.67.142.68
Username : eric
Classname : vB_Database
MySQL Version : 5.5.20-55

BirdOPrey5 07-05-2012 04:47 PM

Do you get that error repeatedly or just once?

I see the problem is there is no space between the number and the "OR" :

1338912865OR bop_global = 1

But it works with everyone else's...

In any case please go to the Admin CP -> Plugins & Products -> Plugin Manager

Edit the plugin: Get Global Threads Count [OK]

Find the line:

Code:

    $hook_query_where .= "OR bop_global = 1
and change it to:

Code:

    $hook_query_where .= "  OR bop_global = 1
I will put this fix into the next version, but I have a number of people using the free and paid versions and both have this exact code without errors. Weird.

wilford brimley 08-28-2012 06:50 AM

when replying from a normal forum while using the simple postbit mod in the target forum it still shows the avatar. probably a postbit edit i made.

BirdOPrey5 08-29-2012 04:47 PM

I'm not sure how that is possible... Once you click on a thread title you are brought into the thread- the thread is always in its native forum.

Crimdog 11-19-2012 09:37 PM

Installed this mod after migrating from VB3 to VB4 for a test site. Only thing we noticed was that the global threads we used were no longer "stuck" at the top as a global thread. They were still tagged as a global thread, but somewhere within each section.

I had to make the global thread a "sticky" in order for it to be the top thread in each section.

In addition, it broke my administration section where I have three sub-forums. Broke, meaning none of the threads will display in an administration section. You can however click on the latest thread link in the forum section and be taken directly to the thread.

Any ideas where I need to look? This mod is absolutely a requirement.

BirdOPrey5 11-21-2012 10:37 AM

This mod is not an upgrade from the VB3 version, it is a new mod- they work differently. The VB3 version requires a separate forum for Global Threads, this mod doesn't.

As for how any section "broke" I can only guess the issue is with the automatic template edits- I would suggest you try it of the default style and see if it works. If it does try disabling use of the icon and/or prefix in the mod options.

Crimdog 11-26-2012 12:32 AM

Thanks.

Igor.Gabrielan 01-14-2013 04:06 PM

Possible with your mod to place a thread in several, but not all forums?


This is described for example here.

Alan_SP 01-14-2013 07:46 PM

As it is described in first post (it's a good thing to read at least first post of a thread. I see you're quite new here, this is your first post):

Quote:

The GOLD version has all the features of the FREE version but 2 additional options:
1) You may choose specific users (by userid) to give Make Global Thread permissions.
2) You may select or restrict Global Threads to specific forums.
So yes, with paid version you can define in which forums thread appears.


All times are GMT. The time now is 07:56 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.01378 seconds
  • Memory Usage 1,830KB
  • 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
  • (7)bbcode_code_printable
  • (8)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