Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by ethank ethank is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-04-2001 Last Update: Never Installs: 0
 
No support by the author.

Here's the hack I worked on this week, in rough and not too pretty form. I'll be beautifying it soon.

You can download an rtf with all the code changes listed at http://murmurs.com/codechanges.rtf. Also in that file is the table creation statement.

Attached is a zip of all the changed files. Comments are included, but not consistant yet.

You can see this in action at http://tony.murmurs.com. Only two forums, but still.

I'll pretty up the code this weekend and make better install instructions.

This is way beta, so if there are any problems just post. Don't put this on a production board yet

Ethan

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 10-24-2001, 11:01 PM
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Location: Toluca Lake, CA
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Busy as all hell! Story is, I kind of quit/was layed off, so I'm doing consulting and grad school admissions stuff so just got really swamped.

I'm going to diff my files against the released ones and see if I can get some documentation going.

I guess I'll use the installation wizard type thing that others use for hack distribution.

I don't have a timeline honestly, because right when I start working on doing all the documentation I get busy again. Erg.

Ethan
Reply With Quote
  #33  
Old 10-25-2001, 12:13 AM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You too, aye? Been doing the consulting thing for 2 years ever since a layoff. It has two speeds - fifth gear and park.

Hang in there.

Looking forward to seeing what you have come up with.

Reply With Quote
  #34  
Old 10-25-2001, 03:59 AM
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Location: Toluca Lake, CA
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here it is at long last. I went through in Araxis Merge, comparing my current code base to the released one and here are the instructions

This is preliminary. I need a brave soul with time to implement it and test it out, see if I forgot anything. This was my first PHP project, so the code is a bit sloppy in parts.

But its all there and its worked in production for 5 months on a 1500-3000 message per day forum.

If someone walks through it and it works, I'll start making a sort of install script type thing for it to make it nicer in format.

10:31PM PST on 10/24/2001 Fixed vague instructions in showthread.php code
11:04PM PST Changed instructions in session.php modification
11:17 PST Missing a }, caused parse error in index.php
October 28, 2001 Removed updateLocation() function calls, clarified sessions.php instructions a bit.

Yet to be done: Cleaning up the code a bit.

Ethan
Reply With Quote
  #35  
Old 10-26-2001, 12:25 AM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I shall be thy guinea pig.

Only problem is, it may take me a day or more to begin. My new host provider didn't get the test region database set up when he set up production. It is there now, but I can't access it through phpMyAdmin for some unknown reason.

Blah.

As soon as I can access to script, I will run this for you and let you know how it reacts for me.

If you have any idea what may be wrong with the PhpMyAdmin thing, let me know that as well. They don't have any idea how to fix it and I don't know enough about it to try to suggest anything.

http://www.vbulletin.com/forum/showt...threadid=31338
Reply With Quote
  #36  
Old 10-26-2001, 01:09 AM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I already went through this last night, with ethank standing by on AIM for support with a few bits of the original instructions that weren't quite clear. But as we worked it all out, he made changes to the text file, so what's attached in his message above should be good. I'm happy to report that the functionality of the hack seems to work just fine. There are one or two minor rough edges that I don't know if were addressed yet, for example the Moderators column gets used to hold the links to mark the forum read or get new posts in that forum, but the instructions don't mention to change the name of the column. You can probably figure that out on your own, but I think it should be in there. There was one other issue about templates...when you click the link to mark a forum read, it sends you through the same redirection as if you'd marked all forums as read. So you see the message that all forums have been marked read. Ethank suggested I change the wording of that template to be that the one forum had been marked as read, but then it would say that if you used the mark all forums read link. So there really should be a new template created that is called when you just mark an individual forum as read. I think that ethank is considering putting that in a later release along with some other stuff, although he can comment on that better than I.
Reply With Quote
  #37  
Old 10-26-2001, 01:30 AM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hack seems to have installed alright and not be causing any database errors, but there are a couple of issues I'd like to try and see if there are solutions for.

The getall action for viewing New Posts doesn't seem to be working. It yields this error:
Quote:
Fatal error: Call to undefined function: updatelocation() in /home/virtual/swforum/home/httpd/html/forum/search.php on line 1091
I found the instructions for modifying search.php to be a little lacking in detail and confusing.

And is it possible to have it when a user clicks on the Mark forum Read Link within a forum, to have them directed to the Forum Home Page?

Also, the hack appears to actually be marking all forums read, when clicking Mark forum read. =/
Reply With Quote
  #38  
Old 10-26-2001, 01:58 AM
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Location: Toluca Lake, CA
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by SWFans.net
The hack seems to have installed alright and not be causing any database errors, but there are a couple of issues I'd like to try and see if there are solutions for.

The getall action for viewing New Posts doesn't seem to be working. It yields this error:I found the instructions for modifying search.php to be a little lacking in detail and confusing.

And is it possible to have it when a user clicks on the Mark forum Read Link within a forum, to have them directed to the Forum Home Page?

Also, the hack appears to actually be marking all forums read, when clicking Mark forum read. =/
Need to remove the updateLocation function call.

I'll fix instructions for the search page. THe "Mark Forum read" link should look something like this:

http://tony.murmurs.com/member.php?a...ead&forumid=96

I'll take a look at the instructions and post updates.

Ethan
Reply With Quote
  #39  
Old 10-26-2001, 02:05 AM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I was aware that the redirect looked that way, but the actual function appears to be marking all forums read. Perhaps removing the ?updateLocation function call.? Will solve that issue.

Now if I just new how to do that.

Is clueless when it come to coding PHP.
Reply With Quote
  #40  
Old 10-26-2001, 02:09 AM
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Location: Toluca Lake, CA
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just delete the line or put a // before it

EThan
Reply With Quote
  #41  
Old 10-26-2001, 02:34 AM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I have the "View New Posts" working again, but the feature, still marks all forums as read when I use the link provided in the instructions to Mark Forum Read.
Reply With Quote
Reply

Thread Tools

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 10:24 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.04762 seconds
  • Memory Usage 2,299KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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