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)
-   -   Adv. Editing Options for Mods and Admins (https://vborg.vbsupport.ru/showthread.php?t=98737)

akanevsky 12-12-2005 09:44 PM

Quote:

thinks me take a looksy
Yes don't forget to click where appropriate.

Exernon 12-13-2005 12:00 AM

Just one comment on this one, once you edit a post, the host name is messed up. Any chance, we can also edit this part?

akanevsky 12-13-2005 12:09 AM

Quote:

the host name is messed up
Never heard of that one. What do you mean?

Lionel 12-16-2005 07:51 PM

This is a great hack. I used without problems, until yesterday. It is conflicting with another great hack just released and on its way to become a major hack: Quickclip.

The problem is at newpost_process or newpost_complete hook location. Since Adv Editing verifies only for quickreply, when quickclip tries to post, we get a vb error message saying that no username was specified.

Is there a way for Adv Edit not to monopolize that location? I am posting here because Adv Editing will eventually prevent other hacks from using that hook location.

akanevsky 12-16-2005 08:12 PM

Technically, there is no way. Adv. Editing Options have to use vBulletin's datamanager, which means that if there is no username, the system thinks that there is no username, and everything else works accordingly. However, other hacks can probably work around that problem - but that is a question that needs to be asked in the thread of a problematic hack. Sorry, but I cannot help you here.

P.S. Why would you want to post quickclips with no valid username, anyway?

Lionel 12-16-2005 08:19 PM

Quickclip uses a username. Adv editing allows the bypass for quickreply only. So when quickclip posts, Adv Editing thinks there are no username.

OK, since I want to keep your nice hack, I will make a mental note for that and tweak any other would_want_to_use that process hack, although the tweak to allow other hacks should be in yours.

akanevsky 12-16-2005 08:23 PM

So once quickclip uses the username, that username is no more in the system?

edit: where exactly does quickclip post from?

Lionel 12-16-2005 08:29 PM

With quickclip, every allowed user create their own set of "canned" responses. It displays a small form below quickreply where you select your preset response to automatically post it.

more about it here
https://vborg.vbsupport.ru/showthread.php?t=103027

akanevsky 12-16-2005 08:34 PM

So like, if I only use custom username if it was specified, will that solve the problem?

Lionel 12-16-2005 08:36 PM

??? you loose me here. Quickclip uses normal username and permissions system. I believe each user has their own space in db to store their responses.

Lionel 12-16-2005 08:48 PM

I think that the problem could be from
PHP Code:

 if (!$vbulletin->GPC['fromquickreply'


akanevsky 12-16-2005 08:52 PM

Umm... If I were the author of quickclip, I would use "fromquickreply" as a hidden value of the form. Actually, I would replicate the behavior of the quick reply form ($_POST-wise) to the fullest extent possible. :( Anyhow, I'll look into what I can do to create better compatibility from my side (although I shouldn't, really).

Lionel 12-16-2005 09:00 PM

hehe you are a genius...
Quote:

<input type="hidden" name="fromquickreply" value="1" />
is a fix for it.

akanevsky 12-16-2005 09:05 PM

Well, thanks, but tell that to the author of the hack. Basically, if a hack form is supposed to act the same as the regular form, it should simply have all the same hidden parameters :)

Lionel 12-16-2005 09:06 PM

I posted the fix in the other thread and a link to your suggestion

akanevsky 12-16-2005 09:20 PM

Thanks man. :)

Smiry Kin's 12-17-2005 05:48 PM

very usfull, hope it works with 3.5.2!

akanevsky 12-17-2005 05:52 PM

It does, don't forget the install button.

carolem 12-19-2005 06:58 PM

Quote:

Originally Posted by carolem
I do notice the date boxes are a bit smaller now and it is harder to see the dates at a quick glance without scrolling in the date box. Is there an easy way that I could fix that?
Carolem

We use Macs. I have checked both using Safari browser and in Internet Explorer on a mac and I get the same result with the date box being too narrow to show 2 numbers.

When I checked using a PC (not a mac) everything was fine.

I am attaching a screen shoot so you can see what this looks like on a Mac.
You had provided a fix for this in an earlier version - is there a way to fix it again?
I would be happy to try to edit a file myself if you would provide instructions.

Thanks,
Carolem

Smiry Kin's 12-19-2005 07:02 PM

Quote:

Originally Posted by carolem
We use Macs. I have checked both using Safari browser and in Internet Explorer on a mac and I get the same result with the date box being too narrow to show 2 numbers.

When I checked using a PC (not a mac) everything was fine.

I am attaching a screen shoot so you can see what this looks like on a Mac.
You had provided a fix for this in an earlier version - is there a way to fix it again?
I would be happy to try to edit a file myself if you would provide instructions.

Thanks,
Carolem

oh yeh.

i want a mac :(

p.s maybe you can edit the box size?... have a fiddle around with it, im just gonna install this n have a go. :)

Rabbitoh Warren 12-20-2005 12:12 AM

Quote:

Originally Posted by carolem
We use Macs. I have checked both using Safari browser and in Internet Explorer on a mac and I get the same result with the date box being too narrow to show 2 numbers.

Sheesh! It's a called search people...

https://vborg.vbsupport.ru/showpost....4&postcount=55

carolem 12-20-2005 12:38 AM

Quote:

Originally Posted by Rabbitoh Warren
Sheesh! It's a called search people...

https://vborg.vbsupport.ru/showpost....4&postcount=55

Thanks, I was looking at that post previously, but I did not think that the adv_editform template applied in the 3.5 version.

My problem is now solved!

I see now where I should have realized this on my own!

Carolem

akanevsky 12-20-2005 09:26 AM

Yes, cause people post multiple irrelevant posts and I cannot keep track of everything in my threads :( I'll try to make sure I do this in next releast.

TCattitude 12-26-2005 07:24 PM

Quote:

Originally Posted by Psionic Vision
Well, thanks, but tell that to the author of the hack. Basically, if a hack form is supposed to act the same as the regular form, it should simply have all the same hidden parameters :)

I have a seemed problem with this hack and "forms hack". This is the problem:
https://vborg.vbsupport.ru/showpost....&postcount=401

...i already post in that thread, but, if you can help me to solve this too, please, i will be thankful.

Greetings

akanevsky 12-26-2005 08:03 PM

This hack was written so that it would not initiate conflicts with other hacks.
However, it is impossible to prevent other hacks from initiating a conflict with this hack. All I can tell you is that you should seek help from the author of the Forms Hacks. Thanks.

FD929 12-29-2005 03:45 PM

This is a wonderful hack although I have a problem. I allow members to delete their own threads. After I lock a thread for editing by a member, they can still see the 'delete thread' in the thread tools dropdown and can use it.

akanevsky 12-29-2005 04:32 PM

Then don't allow members to delete their own threads.
At the moment, the hack cannot work with global tools that involve mass post management and stuff, and that is said in the first post.

FD929 12-29-2005 05:20 PM

Yeah that's not an option. If that issue ever arose I'll just move the offending member into my limited usergroup though I don't foresee that happening. Thanks Anthony.

akanevsky 12-29-2005 06:19 PM

I could make it so that it would say "protected posts detected, operation impossible" when, say, a moderator tries to modify a thread that contains posts over his/her editlevel... Idk whether that'd be good though.

FD929 12-29-2005 06:47 PM

Quote:

Originally Posted by Psionic Vision
I could make it so that it would say "protected posts detected, operation impossible" when, say, a moderator tries to modify a thread that contains posts over his/her editlevel... Idk whether that'd be good though.

The reason I would need this is lets say a member decides to start a flamewar for whatever reason, but then gets called out and decides to delete the thread. Then I decide I want the thread back so I restore it and lock the first post. Well he can no longer edit that post, but can still delete the thread through the thread tools dropdown.

So the hack is only effective for locking posts, (which is wonderful in itself and great thanks for that) but I also need it for threads themself.

I have the workaround I described above so it's really not a big deal and a huge thanks for what it already is capable of. Just maybe something to think about for the next release. :)

Mudvayne 01-08-2006 02:39 PM

ok got a prob.. chk this plz.. I'm using vb 3.5.3 with ur hack 2.0.0
thnx in advance for ur solution :D

Settler 01-21-2006 07:29 AM

привет
its possibly to code this hack for vB 3.5.2

Bro_Joey_Gowdy 02-02-2006 04:48 PM

Any updates on the compatability with vb3.5.3 ?

the Sandman 02-08-2006 02:50 PM

Any chance you could add an option for Administrators to remove the "Last edited by" notation from a post if it happens to have one?

SaN-DeeP 02-25-2006 03:13 PM

Installation worked fine, although i get this message trying to add/edit a post/thread:

Uncached templates: adv_editform (1)

I have Microstats installed on by board, running 3.5.4

Regards,

Mudvayne 02-25-2006 03:38 PM

Quote:

Originally Posted by SaN-DeeP
Installation worked fine, although i get this message trying to add/edit a post/thread:
Uncached templates: adv_editform (1)

Hello.. SaN-DeeP.. I got the same prob.. I used a plugin.. Attach that.. Might u got help :).. Just upload the plugin via AdminCP->Download/Upload Plugins..

SaN-DeeP 02-25-2006 06:28 PM

thanks Shuvo for your instant help

Regards,

Thanatos 03-06-2006 11:42 PM

Just to let users know, this can break the forms hack.

My forms would erratically stop working or give me errors, until I disabled this (I disabled every plugin 1 at a time and tested 3 times; this one caused issues consistantly) mod.

akanevsky 03-06-2006 11:49 PM

That has already came up before. Please read through the thread to see the answer to that issue.

Edit: Because I am in a good, here is the summary of my answer: my hacks are written with the existence of other hacks in mind, therefore my hacks do not contain "monopoly" that can disrupt other hacks' work. Other hacks, however, can be written in a poor fashion that can result in a conflic between itself and any one of my hacks. This, as you may understand, is not in my power to prevent.

...

Concerning the uncached template, that is, of course, important, but not important enough to release a new version just for that.

To fix that problem before there is a release, add the following plugin @ global_start:

Code:

$globaltemplates[] = 'adv_editform';
Quote:

Any chance you could add an option for Administrators to remove the "Last edited by" notation from a post if it happens to have one?
Yes, I'll look into that.

Quote:

Can you code this for 3.5.2
No, because this ALREADY IS for any 3.5.x version of vBulletin.

hotwheels 03-07-2006 11:48 PM

I had to uninstall this hack for now...........Not sure what happened, but when i would start a new thread, just named it test and wrote tester in the message section, it used 50 queries to show the thread..........normally on my site it is only 12 queries.

It is a kewl hack though.............thanks for sharing it with us.


All times are GMT. The time now is 12:21 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.01827 seconds
  • Memory Usage 1,826KB
  • 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
  • (1)bbcode_php_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