vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   vb3 Journal hack (Yes, I'm working on it) (https://vborg.vbsupport.ru/showthread.php?t=61503)

Wonko of Shinra 02-26-2004 02:29 PM

We're working on the store hack right now, I'm just having MASelphie finish up on the vb3 journal templates, and waiting on a response from the original creator of the journal hack and if he says okay then I'll release it

if you don't like my system and want to swap over to kura's instead, I have done things to make it compatible. though you will lose comments with renamed subject headers.

KuraFire 02-26-2004 02:31 PM

Quote:

Originally Posted by Wonko of Shinra
We're working on the store hack right now, I'm just having MASelphie finish up on the vb3 journal templates, and waiting on a response from the original creator of the journal hack and if he says okay then I'll release it

if you don't like my system and want to swap over to kura's instead, I have done things to make it compatible. though you will lose comments with renamed subject headers.

I'm sure I could make an importer for that, so that nothing would be lost. :)

Not an unfair thing to do, right?

Wonko of Shinra 02-26-2004 04:39 PM

Our goal is making people happy, not journal competition so sure :)


Alright, here's the deal
the vb2 edition had comments per entry, the people at shinra prefered their comments to be threaded. so we modified that (example http://www.shinraonline.com/board/jo...journalid=2359 )
In order for it to still act much like the old system. To make it work with your upgrade script, i've modified how it adds comments.

so when you have an entry such as...
http://www.fewl.org/images/kura-hacka.jpg
to make a comment you hit discuss and come back with a link like...
shinraonline.com/board/journal.php?s=&action=comments&journalid=786&entry id=9190

and inside my code it checks to see if the person still wanted to comment on on that topic...
PHP Code:

        if (isset($entryid) && $entryid != "")
        {
                
$testtitle $DB_site->query_first("SELECT title FROM
                journal_entry WHERE entryid=
$entryid");
                
$testtitle[title] = "Re: " $testtitle[title];
                
$subject addslashes(htmlspecialchars($subject));
                if (
$subject != $testtitle[title])
                        
$entryid 0;
        } else {
                
$entryid 0;
        }
        
$insert_comment $DB_site->query("INSERT INTO journal_comments
(commentid, title, comment, timestamp, entryid, journalid, userid) VALUES
('commentid+1', '
$subject',
'"
.addslashes(htmlspecialchars($comment))."',
'"
.time()."', '$entryid', '$journalid', '$bbuserid')"); 

best way to make it compatible is to have it check the timestamp of all comments tied to entryid=0 and check it with the timestamps of the journal entries and insert them where appropriate.

I'll be releasing this in a matter of days or less, so you can figure it all out from there.

JamesFrost 02-26-2004 06:05 PM

Quote:

Originally Posted by KuraFire

I would ..... if it were still there.

Oblivion Knight 02-26-2004 06:08 PM

Quote:

Originally Posted by JamesFrost
I would ..... if it were still there.

Basically, his Journal mod will be HTL only and released at EvB.

JamesFrost 02-27-2004 12:46 PM

Quote:

Originally Posted by Oblivion Knight
Basically, his Journal mod will be HTL only and released at EvB.

OK, thanks. :)

Wonko of Shinra 03-01-2004 03:43 AM

Beta posted.
https://vborg.vbsupport.ru/showthrea...190#post481190

JamesFrost 03-01-2004 03:05 PM

Wonko,

the link doesnt work anymore. Has the software been pulled for some reason?

James

assassingod 03-01-2004 03:07 PM

It was removed because the original author didn't give permission for the hack to be ported.

spence2 03-01-2004 03:26 PM

You know...between the endless betas of vB3 and the disarray about permissions over mods, IPB is looking better everyday!

And, I don't give a rat's behind which sycophant jumps in to defend vB...I'm annoyed, frustrated and I'm sure as hell not the only one!

As suggested in another post to me, I PM'd the original "owner" of this mod about his/her intentions to port this to vB3. "Yes," they replied, "but it won't be me doing it, it will be ______." So, I kept checking back for progress...and nothing, nada, zilch!

Since the code for the original mod is now obsolete for vB3 that means coding changes had to be made. At what point...and in whose judgment enough changes are ever made to designate it an original mod, I don't know. I'm not in favor, of course, of not giving credit where it is due, but isn't "credit" enough?

If someone does not "grant permission" for others...ever...which, I am assuming is their "right" (no matter how much the original code must be altered)...then I suppose some mods will not only never get ported to vB3...they will never get ported to 4, 5 or 6!

I'd rant some more, but I've gotta get outside and take the tires off my car, because after all, I don't think Goodyear invented the wheel!


All times are GMT. The time now is 07:39 AM.

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.02252 seconds
  • Memory Usage 1,754KB
  • 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_php_printable
  • (4)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
  • (10)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