vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Advanced Editing Options For Mods & Admins for 3.5 Discussion (https://vborg.vbsupport.ru/showthread.php?t=98674)

akanevsky 10-13-2005 02:09 PM

Advanced Editing Options For Mods & Admins for 3.5 Discussion
 
Can I please port this hack myself, since I am about to upgrade my board and I need it now? If yes, I'll give you credit for the original. R3pect :)

Sal Collaziano 10-13-2005 03:17 PM

I hope so. :p :)

Boofo 10-13-2005 03:29 PM

I would rather wait for Xernon to code it for 3.5 since it is his hack and he knows it better than anyone else.

akanevsky 10-13-2005 03:52 PM

Quote:

I would rather wait for Xernon to code it for 3.5 since it is his hack and he knows it better than anyone else.
Whoa, hold up there buddy, I don't think there is any basis for offense.

Firstly, because I don't think you ever had problems with my hacks (and even if you did, I always helped fix them). Those who installed my hacks and requested support in my threads - they can all can confirm it.
Secondly, because if I get Xenon's permission to release it here, you will not be forced to install my release. In fact, you can always wait for Xenon's release if you wish so.
Thirdly, because I never said I would COPY-PASTE the code. I would code it from the scratch but give Xenon credit for the idea and original code (since I might draw some ideas from it as well).

Now, I am going to code the port myself since I need it, regardless of what anybody thinks about it. All I'm asking for is Xenon's permission to release it here. Xenon, where are you? :)

Sal Collaziano 10-13-2005 04:11 PM

Be nice, now... I took Boofo's reply as a light-hearted one - not a hostile one...

Xenon 10-13-2005 04:28 PM

personally i have no problem with it, beeing ported by anyone else as long as i get my credits ;)

akanevsky 10-13-2005 04:30 PM

Quote:

Be nice, now... I took Boofo's reply as a light-hearted one - not a hostile one...
Well, for some reason I think he doesn't like me, and because of that my perception changes :)

Quote:

personally i have no problem with it, beeing ported by anyone else as long as i get my credits
Ok, thanks :) I'm taking it on then.

Boofo 10-13-2005 04:47 PM

Quote:

Originally Posted by Xenon
personally i have no problem with it, beeing ported by anyone else as long as i get my credits ;)

You will still be porting your version of this though, right?

Sal Collaziano 10-13-2005 04:52 PM

Okay, guys.. I see.. Well, this is great news. I'm anxious to find Dark Visor's version because this is the only thing preventing me from upgrading...

Boofo 10-13-2005 04:57 PM

Quote:

Originally Posted by Dark Visor
Well, for some reason I think he doesn't like me, and because of that my perception changes :)

If you'll re-read my post, I did not mention any names or anything like that. I think you are paranoid for no reason. Whether I like you or not is immaterial as to my wishes for Xenon to port this hack.

Boofo 10-13-2005 04:59 PM

Quote:

Originally Posted by Sal Collaziano
Be nice, now... I took Boofo's reply as a light-hearted one - not a hostile one...

Thank you. I never meant anything by it other than what I stated. ;)

akanevsky 10-13-2005 05:08 PM

Quote:

I'm anxious to find Dark Visor's version because this is the only thing preventing me from upgrading...
You won't have to wait too long. :)

Quote:

I never meant anything by it other than what I stated.
Then I suppose there you could at least try my version. Right?

Boofo 10-13-2005 05:11 PM

Quote:

Originally Posted by Dark Visor
Then I suppose there you could at least try my version. Right?

Well, I suppose I could, but only if Xenon gives a thumbs up on your version. ;)

akanevsky 10-13-2005 05:11 PM

Actually you know what? You are right with what you said, and I respect you for sticking to the original author rather than jumping to someone else when he doesn't have time :)

Quote:

but only if Xenon gives a thumbs up
I assure you, he will ;)

// end of off-topic, sorry for flooding and thanks for permission to port

MJM 10-14-2005 07:58 AM

I will be very happy if the 3.5 port works as Xenon's current mod, and if the following issues are resolved, so much the better.

1) Update username if post is last post showing on Forum/index.

2) Update post count of new username and changed from username.

3) I would be thrilled if this mod could also appear in the message newthread /newreply interface as well as editpost as it is now.

The reason is that I often need to post New Threads on members behalf.
We have separate photo galleries that members upload pics and commentary to, and one of my tasks is to compile text/IMG tag pics into a New Thread / Post Reply article format for many members.

The only way I can presently do this is to post it in my name, with `posted for username' comment, then use this mod to go back and edit > change username.

It would be much more professional, and a time saver if I could change username at newthread/newreply.

Thank you for considering this.

~ Mark

Boofo 10-14-2005 08:02 AM

Quote:

Originally Posted by MJM
It would be much more professional, and a time saver if I could change username at newthread/newreply.

~ Mark

If it is a newthread or newreply, there wouldn't be a username yet as the message hasn't been posted yet. Or am I missing something? ;)

MJM 10-14-2005 08:26 AM

Hmmm, I am just guessing that it would recognize me the as user posting the message. which I would change ...
Actually as there may also be no time stamp details till the message is posted, it would be fine if the fields remained blank at this point unless info was added.
Thank you for bringing up this technical point.

I actually need this mod far far more for newthread/newreply.

... with the exception of when I hand moved a bunch of posts over from my old yahoogroup a couple years ago and then had to change all the usernames/dates afterwards.

~ Mark

Boofo 10-14-2005 08:31 AM

So basically, you want to be logged in as you and post the message as if it is from another user account, right?

MJM 10-14-2005 08:45 AM

Correct. Though our site is an interactive forum, it is also going the route of a publication.
Many of our international artisan community are not so techno savvy and rely on me to help prepare their gallery pics and comments into posts.

~ Mark

akanevsky 10-14-2005 05:55 PM

1) Update username if post is last post showing on Forum/index.
This will be done.
2) 2) Update post count of new username and changed from username.
This will be done too.
3) I would be thrilled if this mod could also appear in the message newthread /newreply interface as well as editpost as it is now.
Newreply? What for? But I'll do it for newthread.

MJM 10-14-2005 06:50 PM

WoW! That will be fantastic if you can do this.

Newreply? What for?

To be honest, this need is rare, I was just trying to cover all bases.
I will be very happy if you can do the rest.

Thanks,
Mark

Xenon 10-15-2005 09:57 AM

well, the newreply/newthread is a different hack at all, but doable in one step

a template condition in the editor and a build_new_post hack, no difference if it's newreply or new thread.

akanevsky 10-15-2005 07:06 PM

Base port completed with the postcount being updated.
Now working on newthread.

MJM 10-15-2005 07:49 PM

Xenon wrote ...
"well, the newreply/newthread is a different hack at all, but doable in one step"

It could still apply as ... Advanced Editing Options For Mods & Admins

" ... a template condition in the editor and a build_new_post hack, no difference if it's newreply or new thread. "

That would be great if do-able.

One other thing I've noticed and I don't know if you can do anything about this, but I'll mention it anyway.

Is it possible to iniatiate change of users default subscription mode?

Scenario ...
My subscription mode is set to unsubscribe, as I have it set to receive all new posts in Forum Manager.

In Xenon's mod I have to post New Thread / New Reply then go back and edit / change username.
While doing this I change the members subscription type to Instant Notification, which is our board default > then I submit.

What happens is that I also become subscribed to Instant Notification too, so I need to go to my subscriptions folder and delete subscription.

I can live with this, but it would be very cool if change of username could change subscription type to users default subscription mode.

Many many thanks Dark Visor, and Xenon for your work!

~ Mark

Drat! I am on the road this next week, and will not be able to upgrade to 3.5/install this, if it is ready, till the 24th Oct :(

akanevsky 10-15-2005 09:01 PM

I am NOT doing newreply.
However, newthread is complete... I need a few beta-testers to test it on my board.

MJM 10-15-2005 09:14 PM

You're homepage shows as vB.org.
If it ain't to technical I'll be a guinea pig.

akanevsky 10-15-2005 09:24 PM

Oh, and I need someone to help me with ajax quick edit.. Cause I have no idea about ajax.

EDIT:

Actually, no need for ajax here.. I'll just remove the edit buttons for those who can't edit :)

Boofo 10-15-2005 10:47 PM

Quote:

Originally Posted by Dark Visor
I am NOT doing newreply.
However, newthread is complete... I need a few beta-testers to test it on my board.

What is the difference in newthread and newreply in incorporating this addition? Xenon gave you the way to do it. ;)

akanevsky 10-15-2005 10:51 PM

Okay, I might do it then.

Boofo 10-15-2005 10:56 PM

Quote:

Originally Posted by Dark Visor
Okay, I might do it then.

There you go! That's the spirit! ;)

And you might want to work with the AJAX stuff. It really is a great addition. ;)

akanevsky 10-15-2005 11:31 PM

I need some help though.. :(
If I write:
(in newreply.php)
$dataman->set_info('user', fetch_userinfo(0), true, false);
then $vbulletin->userinfo gets reset to the new user data...
how do I avoid that?

I am all done except I cannot solve this problem...
Why the hell would it get reset?

MJM 10-16-2005 08:38 AM

These improvements to this mod are going to be fanfreekintastic!

Heres my scenario ...
I'm primarily an artist / participant at my forum.
I need alias usernames for issues like News and Events postings, Site Technical Support etc as I don't want these posts cluttering up my personal Profiles`See all Posts / Threads' viewing.

Now I will not need to log out / login as another usename to post a New Thread / New Reply for these issues!

:) Mark

akanevsky 10-16-2005 10:51 AM

Ok, question:

DO WE NEED AN OPTION TO PUT A CUSTOM DATE IN NEWTHREAD/NEWREPLY?

MJM 10-16-2005 10:57 AM

No, I can't personally see any need to apply a custom date in newthread /newreply.

MJM 10-16-2005 11:07 AM

I'm just putting out a thought here ... one which I currently don't need ...
But what would happen if you could apply a custom date, and entered a future date? hehe

~ Mark

MJM 10-16-2005 12:21 PM

Curiosity got the better of me so I used the current mod to edit an existing Thread to tomorrow and it does still show up, both in the specific forum and in Search > Today's Active.
Forward dating is possibly a rather kinky way to temporarily stick a thread.

Back dating a Thread obviously does show in correct Forum Thread Search chronological placement.

DO WE NEED AN OPTION TO PUT A CUSTOM DATE IN NEWTHREAD/NEWREPLY?

Trust me to change my mind on this one!
If it can be done, please do it.

For posting backdated Threads that I don't want to show in New Posts, I have been posting them into a private forum > edit > backdate with Xenons mod > then move to it's respective forum ...

If > CUSTOM DATE IN NEWTHREAD/NEWREPLY is possible, I could skip the above and post it right in, pre dated.

If this causes too much of a hassle for you, no probs, I have an alternative method.

Thanks
~ Mark

akanevsky 10-16-2005 12:26 PM

What would currently happen is the forum lastposter not being updated...
Because it is only updated when the current time exactly matches the post time...
Since workaround would require much more code, I am wondering whether that is even needed. The problem, however, does not exist in editpost.

I, personally, can't see the point in the custom date at all... Anyone wants to explain?

MJM 10-16-2005 12:45 PM

"Since workaround would require much more code"

Skip it

I can live without it, > easy other ways to post backdated threads.

If you get everything else to work I will be in 7th heaven!

~ Mark

akanevsky 10-16-2005 12:54 PM

Quote:

easy other ways to post backdated threads
What are they?

akanevsky 10-16-2005 01:26 PM

Nevermind. See PM since you wanted to beta test. :)


All times are GMT. The time now is 02:23 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.01431 seconds
  • Memory Usage 1,820KB
  • 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
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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