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)

theArchitect 11-27-2005 11:29 PM

Quote:

Originally Posted by Psionic Vision
Please read the "Note" section in the 1st post to avoid the arousal of unnecessary questions.

I know you wanted to avoid arousal, but I am aroused. :surprised:


As you have a new product ID (which means overwright isn't necessary), I guess that I need to uninstall the original hack and then clean install this one?

theArchitect 11-27-2005 11:32 PM

Oh, and i have requested a SuperGlobal hook on vB.com.

theArchitect 11-27-2005 11:44 PM

Quote:

Originally Posted by Psionic Vision
I2. Perform the new file edit for functions.php (sorry, but I need a place that works EVERYWHERE in vBulletin. And they have no superglobal hook).

Could you use init_startup?

akanevsky 11-27-2005 11:45 PM

You simply need to un-install the XML and then install the new one.

Quote:

Oh, and i have requested a SuperGlobal hook on vB.com.
Thank you very much. :P I would be too lazy to do that anyways.

Boofo 11-27-2005 11:47 PM

There are vb file edits in it now? We might have to move it. ;)

Boofo 11-27-2005 11:51 PM

Will this also work on 3.5 RC3 and who is it set for at default? ;)

akanevsky 11-27-2005 11:53 PM

Quote:

Could you use init_startup?
I'll check.
EDIT: Yes, I can. To be updated in a minute.

Quote:

There are vb file edits in it now? We might have to move it.
Hold on with that.

Quote:

Will this also work on 3.5 RC3
Should, but not tested.

Quote:

and who is it set for at default?
Default for users: No Override
Default for system-wide: Mods and Above

Boofo 11-28-2005 12:01 AM

Can you also shorten the filename a bit. EditPlus 2 is having fits with it as the filename is too long. ;)

akanevsky 11-28-2005 12:03 AM

No, sorry. Please use Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm), as that is the best programming editor available under Windows platform. ;)

UPDATE: 2.0.0 (once again)
If you downloaded and installed the update from a few posts above, cancel the file change and reinstall the xml. :P

The screenshots from the prev. update are still applicable :P

Boofo 11-28-2005 12:06 AM

Quote:

Originally Posted by Psionic Vision
No, sorry. Please use Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm), as that is the best programming editor available under Windows platform. ;)

UPDATE: 2.0.0 (once again)
If you downloaded and installed the update from a few posts above, cancel the file change and reinstall the xml. :P

Nom problem, I'll shorten the file name when I download it. It does make the box on the right stretch though, you might want to think about shortening your filenames in the future. Conformity.

And Notepad++ doesn't even come close to EditPlus 2. ;)

theArchitect 11-28-2005 12:12 AM

Quote:

Originally Posted by Boofo
..And Notepad++ doesn't even come close to EditPlus 2. ;)

And both of those pale into insignificance next to BBEdit. ;) :squareeyed:

Jenta 11-28-2005 12:25 AM

Quote:

Originally Posted by theArchitect
And both of those pale into insignificance next to BBEdit.

but not as much as TextPad

Anyways, back on topic. Thanks for the update. Looks like it has come a long way.
One question and forgive me if my lazy butt missed it. Do you still need to rebuild thread info for the dateline to change?

Boofo 11-28-2005 12:28 AM

Quote:

Originally Posted by Jenta
but not as much as TextPad

Anyways, back on topic. Thanks for the update. Looks like it has come a long way.
One question and forgive me if my lazy butt missed it. Do you still need to rebuild thread info for the dateline to change?

He should be doing that when you submit the changes, if he isn't already.

Jenta 11-28-2005 12:33 AM

Sounds good. I think I have the initial release installed and only used it a couple of times. I noticed last thread info or something didnt change right away. Don't recall exactly.

Time to upgrade...thx!

Boofo 11-28-2005 12:36 AM

Quote:

Originally Posted by Jenta
Sounds good. I think I have the initial release installed and only used it a couple of times. I noticed last thread info or something didnt change right away. Don't recall exactly.

Time to upgrade...thx!

I don't know if he si doing that in the code or not. I just meant he should add that if he hasn't. I haven't looked at the code yet.

akanevsky 11-28-2005 12:39 AM

Quote:

And Notepad++ doesn't even come close to EditPlus 2.
That is a matter of personal preference. I prefer something that is rather simple and loads as quickly as notepad.
The reason I use Notepad++ are: It has no bugs and it is often updated; It does not use spaces instead of tabs, as some other editors do; And it has a rather simplistic user interface, which is what I look for in all my software. And which none of yous' editors possess. For ya'll inforamtion, Notepad++ is a winner in all the polls I've seen so far on this topic. :)
However, let's not discuss it here. ;) I'll make a thread "Personal Programming Suite", where everyone will be able to list what they use :)

Quote:

I don't know if he si doing that in the code or not. I just meant he should add that if he hasn't. I haven't looked at the code yet.
That bug has already been fixed in, I think, version 1.0.1. At least - according to the changelog. :) No need to look at the code for that purpose. ;)

Quote:

Time to upgrade...thx!
Dam' straight it is! :)

Boofo 11-28-2005 01:16 AM

I'm getting this error on 3.5 RC3 when I go in to edit a user in the Admin CP.

Quote:

Fatal error: Call to undefined function: get_editlevels() in /xxxx/xxxx/xxxx/xxxx/admincp/user.php(551) : eval()'d code on line 19

akanevsky 11-28-2005 01:21 AM

Really? I suppose 3.5 RC3 doesn't have all the hooks 3.5.0^ GOLD does.
Whatever is the case, I do not possess a copy of RC3, so I cannot help you :(
I can only refer to:

Quote:

Time to upgrade...thx!
and say that it's true for you too :)

The only way you can try to fix the problem is to move the contents of the init_startup plugin to the end of init.php :)

P.S> Thanks for clicking "Install".

Boofo 11-28-2005 09:17 AM

Tha'st ok, I'll use it when I upgrade or learn to live without it for now. ;)

akanevsky 11-28-2005 06:48 PM

If you have downloaded the hack prior to now, download it again and overwrite the XML. That will remove time-related issues that have first appeared in this Invites Hack, and it will also make your board protected from the same issues with other hacks, should they ever have a reason appear.

Gizmo5h1t3 11-28-2005 07:40 PM

did as instructed m8, and i got this on my board...
board is now dead.....

Code:

Fatal error: Cannot redeclare get_editlevels() (previously declared in /home/******/public_html/board/includes/init.php(292) : eval()'d code:22) in /home/******/public_html/board/global.php(375) : eval()'d code on line 292
any ideas??

akanevsky 11-28-2005 07:58 PM

Make sure you have uninstalled the previous version of the hack PRIOR TO installing this one. The plugin that was in global.php has been removed in the new version. You probably have it left over from the old one.

Gizmo5h1t3 11-28-2005 08:08 PM

thanks for the advice..shame it wasnt seen b4 my board was lost....

over 12 months of stuff gone????

gutted

akanevsky 11-28-2005 08:18 PM

If you've read the instructions carefully, you would see that it says "Uninstall the old product XML". How come you haven't done that?

Anyway, calm down. Your board is not gone. Use the following tool to temporarily turn off plugin system:
http://www.vbulletin.com/forum/showp...05&postcount=6

Once you turn it off, you can easily uninstall the old version of the hack.
After which, you can install the new one. :)

theArchitect 11-28-2005 08:29 PM

Quote:

Originally Posted by Psionic Vision
If you've read the instructions carefully, you would see that it says "Uninstall the old product XML". How come you haven't done that?

Anyway, calm down. Your board is not gone. Use the following tool to temporarily turn off plugin system:
http://www.vbulletin.com/forum/showp...05&postcount=6

Once you turn it off, you can easily uninstall the old version of the hack.
After which, you can install the new one. :)

^ Yeah that.

Also, never install any hack without first backing up your DB.

I have found that most hacks (if not all) hacks work perfectly fine on a new board (ie a board with no other hacks or mods). But when you install the same hack on a board with a load of mods, then errors can and do occure. Even fatal ones which delete all but 16 of your vB tables (happened to me once).

SO, BACK-UP, BACK-UP AND MAKE COPIES OF THE BACK-UP LOCALY AND ON YOUR SERVER!

akanevsky 11-28-2005 08:30 PM

Quote:

SO, BACK-UP, BACK-UP AND MAKE COPIES OF THE BACK-UP LOCALY AND ON YOUR SERVER!
Or, make sure to EXACTLY follow instructions :P

Snake 11-29-2005 12:18 PM

Yay for the new update! :)

carolem 12-05-2005 02:04 AM

I am having trouble with getting version 2 to work right.
#1 - I don't see the place where I can edit the date and user name of a post.

#2 - I get the following error when I try to edit a message:
Database error in vBulletin 3.5.1:

Invalid SQL:
UPDATE post SET
userid = 0,
username = '',
ipaddress = '',
editlevel = 2,
showsignature = 0,
allowsmilie = 1,
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
iconid = 0,
attach = 0
WHERE postid = 250;

MySQL Error : Unknown column 'editlevel' in 'field list'
Error Number : 1054

Everything worked just fine in the previous version.

Carolem

Hoffi 12-05-2005 07:45 AM

@carolem: Edit them in the ACP. And the Error can't be solved by this Hack, there is no Plugin that use a Hook for that function.

@Psinoc Vision: I would prefer if you can use an own PhraseType instead putting all into the Global Type. If you don't know how, I may help you with this.

carolem 12-05-2005 12:18 PM

I uninstalled and reinstalled the product. (I do confess that previously I did not uninstall the old product before I added the new product.)

The database error no longer appears, but I still only see the box that lets you change
Author
Mod or
S Mod

as the attachment shows and I do not see the box to change the author of the post or the date of the post.

We do not use Moderators or Super Mods at this site - only admin is able to use the advanced editing function.

Carolem

Hoffi 12-05-2005 01:07 PM

Ah, forget my Last post. I just noticed, that I was in the wrong Thread.
This Hack works perfect.

akanevsky 12-06-2005 12:12 AM

Quote:

@Psinoc Vision: I would prefer if you can use an own PhraseType instead putting all into the Global Type. If you don't know how, I may help you with this.
Thanks. I do know how, esspecially with Andreas's new hack. I might do that in some future version.

Carolem,
Make sure you followed all readme steps correctly.

carolem 12-06-2005 01:02 AM

I have checked everything and reloaded the 2 files - uninstalled and reinstalled the product and still only see the box that lets you change
Author
Mod or
S Mod

I still have the old editpost_advanced template and the old adv_editform template from the old versions - could that be messing up anything?

I am using Safari on mac and also get the same results with Internet Explorer.

Carolem

akanevsky 12-06-2005 01:05 AM

Yes. You need to reinstall EVERYTHING, and that includes templates.

carolem 12-06-2005 01:25 AM

Quote:

Originally Posted by Psionic Vision
Yes. You need to reinstall EVERYTHING, and that includes templates.

You mean revert the 2 old templates because I don't need them anymore?

How do I re install the other templates?

Carolem

akanevsky 12-06-2005 09:24 AM

As I said, you need to reinstall everyting, including templates.
To reinstall templates: if you have customized the hack template for any of the styles, then yes you need to revert the template for each of those styles.

carolem 12-07-2005 11:28 AM

I have resolved my problem.
I reverted the 2 old templates that were no longer relevant to this hack
(the old editpost_advanced template and the old adv_editform template)

and now it is working again!

Thanks for such an essential hack!

Carolem

carolem 12-07-2005 11:31 AM

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

DavidN 12-12-2005 12:35 PM

This hack rocks :D

soniceffect 12-12-2005 09:30 PM

Hmmm .. downloaded as never tried this on 3.0 .. looks good :) .. thinks me take a looksy


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