Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #31  
Old 10-15-2005, 11:31 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #32  
Old 10-16-2005, 08:38 AM
MJM MJM is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #33  
Old 10-16-2005, 10:51 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, question:

DO WE NEED AN OPTION TO PUT A CUSTOM DATE IN NEWTHREAD/NEWREPLY?
Reply With Quote
  #34  
Old 10-16-2005, 10:57 AM
MJM MJM is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I can't personally see any need to apply a custom date in newthread /newreply.
Reply With Quote
  #35  
Old 10-16-2005, 11:07 AM
MJM MJM is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #36  
Old 10-16-2005, 12:21 PM
MJM MJM is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #37  
Old 10-16-2005, 12:26 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #38  
Old 10-16-2005, 12:45 PM
MJM MJM is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"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
Reply With Quote
  #39  
Old 10-16-2005, 12:54 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
easy other ways to post backdated threads
What are they?
Reply With Quote
  #40  
Old 10-16-2005, 01:26 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind. See PM since you wanted to beta test.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04150 seconds
  • Memory Usage 2,242KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete