vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBJournal Lite 1.1b (https://vborg.vbsupport.ru/showthread.php?t=43717)

Oblivion Knight 02-07-2003 12:27 PM

Does anyone know if the page linking has been added yet?
Just noticed that afterlab has this feature working here.. Is this his own journal system or is he using this one?

I'd love to have a journal system running at Umbrella Online, but for me there seem to be a few bugs and features missing with this version from reading other people's posts.. I could be wrong.. ;)

sabret00the 02-18-2003 10:22 AM

Quote:

Originally posted by ChurchMedia
Fantastic hack! Just what I was looking for. :) Is there a way to let users include html or VB code in their entries?
my users all have the ability to use vBcode, dunno about html tho'

Jitway 02-18-2003 07:23 PM

Never could get the installer to make the changes in the database. Too bad too! :hurt:

sabret00the 02-19-2003 12:03 PM

any news on the follow up version with the additional features like

+ mood
+ listening too
+ smilie box on add entry & add reply

Zelda-King 02-23-2003 01:47 PM

OK, I installed it on vB 2.2.9.

1) There should be an option to delete one's own journal, and also for an administrator to delete journals. If I delete users their journals are still on record and naturally you get a database error when you click on a deleted user's journal.

2) As has been said (and as I know Gamingforce has on his forums), there should be a profile link to the user's journal with a different message if they have no journal.

3) What's the deal with private entries? I assume that's so only people on your buddy list can view the entry (like at Gamingforce) but none of my buddies can read my private entries.

I'll also recap on what else is initially needed;

- 'Maximum replies per page' setting.
- Admins should be able to edit/delete replies (just in case the system gets abused).
- Word wrap is needed. If someone puts a load of ........... s with no spaces it should automatically wrap at so many characters so the tables aren't broken (a solution has been discussed for this but it needs incorporating in the hack).

Those are the 'musts' in my opinion. Now a suggestion.

Personally I would like at least an option so guests can't even VIEW journals unless the usergroup is manually permitted (I wouldn't want banned people seeing journals).

On top of that, outstanding work!

limey 02-23-2003 10:50 PM

<font color="red">Installed...</font>

Quick question...

I would like to make the comments linkable the same as the discuss button. Its just confusing for people to view comments by clicking the discuss button. Essentially its the same thing, but just for UI purposes.

How would do I do that?

thanks!

Zelda-King 02-25-2003 08:34 AM

Quote:

Originally posted by Elvis




Well, I just verified that the file I uploaded is exactly like the one I currently have in use - it is.

Also... from the error, it looks as though you may be missing a line of an SQL statement - did you edit this file AT ALL?

and finally, I dont understand how you could be requesting a wrong URL, every instance of the goto starts like:

$goto="journal.php?s=

it's referring to itself - there are no directory changes at all.

I didn't alter anything and I have the same problem;

Database error in vBulletin 2.2.9:

Invalid SQL: SELECT u.username, e.entryid, e.journalid, e.title, e.entry, e.timestamp, e.userid, e.private, e.displayorder, e.comments
FROM journal_entry e
LEFT JOIN user u ON e.userid = u.userid
WHERE e.journalid = 14
ORDER BY e.timestamp DESC LIMIT
mysql error: You have an error in your SQL syntax near '' at line 5

mysql error number: 1064

Date: Tuesday 25th of February 2003 03:18:48 AM
Script: http://www.gamercrossfire.net/bb/bb/...14&action=view
Referer:


-------------------------------

Quote:

Originally posted by ChurchMedia


Here's how to do this:

In memberlist.php find:
Code:

if ($userinfo[receivepm]) {
      eval("\$userinfo[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
    } else {
      $userinfo[pmlink] = "&nbsp;";
    }

and add after:

Code:

// vBJournal Hack by Ryangel
        if($userinfo[journal]==1){
                $journal = '<a href="journal.php?s=&journalid='.$userinfo[userid].'&action=view"><img src="images/journal.gif" alt="View '.$userinfo[username].'\'s Journal" border="0"/></a>';
        }
        else {
                $journal = '';
        }
// vBJournal Hack End

In memberlist template, find

Code:

<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan=
Your columnspan needs to be increased by one, so if it's 7, make it 8.

In same template, find:

Code:

</tr>
$memberlistbits

Beneath that add:

Code:

<td bgcolor="#1D6AA0" align="center"><smallfont color="#EEEEFF"><b>Journal</b></smallfont></td>
In the memberlistbit template find:

Code:

</tr>
Right above that add:

Code:

<td bgcolor="#13486D">$journal</td>
That should do it :)

Much appreciated. I used this. A few notes though;

In memberlist.php use
PHP Code:

// vBJournal Hack by Ryangel
    
if($userinfo[journal]==1){
        
$journal '<a href="journal.php?s=&journalid='.$userinfo[userid].'&action=view"><img src="images/journal.gif" alt="View '.$userinfo[username].'\'s Journal" border="0"/></a>';
    }
    else {
        
$journal ''

instead of
PHP Code:

// vBJournal Hack by Ryangel
    
if($userinfo[journal]==1){
        
$journal '<a href="journal.php?s=&journalid='.$userinfo[userid].'&action=view"><img src="images/journal.gif" alt="View '.$userinfo[username].'\'s Journal" border="0"/></a>';
    }
    else {
        
$journal '';
// vBJournal Hack by Ryangel 

In the memberlist template add;

Code:

<td bgcolor="{*tableheadbgcolor*}" align="center"><smallfont color="{*tableheadtextcolor*}"><b>Journal</b></smallfont></td>
above
Code:

$memberlistbits
rather than putting
Code:

<td bgcolor="#1D6AA0" align="center"><smallfont color="#EEEEFF"><b>Journal</b></smallfont></td>
below it.

In the memberlistbit template use;

Code:

<td bgcolor="{*firstaltcolor*}">$journal</td>
rather than
Code:

<td bgcolor="#13486D">$journal</td>
Most of this isn't your fault. I noticed when you put something like {*tableheadbgcolor*} (without the *s) it's replaced with the tableheadbgcolor HTML for this board.

Remove all the *s in my coding for it to work.

---------------------------------

Now, I'm trying to put a journal link in user profiles. Now where in the member.php would I insert
Code:

// vBJournal Hack by Ryangel
        if($userinfo[journal]==1){
                $journal = '<a href="journal.php?s=&journalid='.$userinfo[userid].'&action=view"><img src="images/journal.gif" alt="View '.$userinfo[username].'\'s Journal" border="0"/></a>';
        }
        else {
                $journal = '';
        }

?

I stuck it under
Code:

  $referrals = $refcount[count];
    eval("\$referrals = \"".gettemplate("getinfo_referrals")."\";");
  } else {
                $referrals = '';
        }

but when I put $journal in the 'getinfo' template it takes no notice if someone has a journal. For example, if I put something like
Code:

// vBJournal Hack by Ryangel
        if($post[journal]==1){
                $journal = '<a href="journal.php?s=&journalid='.$post[userid].'&action=view"><img src="https://vborg.vbsupport.ru/images/journal.gif" alt="View '.$post[username].'\'s Journal" border="0"/></a>';
        }
        else {
                $journal = 'No journal enabled';
        }

in member.php, their profile shows 'No journal enabled' regardless in spite of the same hack working in admin/functions.php and memberlist.php.

sabret00the 02-25-2003 06:44 PM

Quote:

Originally posted by limey
Installed...

Quick question...

I would like to make the comments linkable the same as the discuss button. Its just confusing for people to view comments by clicking the discuss button. Essentially its the same thing, but just for UI purposes.

How would do I do that?

thanks!

edit the template 0_o

limey 02-25-2003 08:58 PM

The correct template is journal_entrybits

Basically copied the discuss link and wrapped it around the "comments" in the template.

Robink 02-26-2003 04:14 PM

Installed!! My USERS Love this Hack!!

Thanks!! No problems whatsoever!


All times are GMT. The time now is 03:15 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.01404 seconds
  • Memory Usage 1,773KB
  • 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
  • (15)bbcode_code_printable
  • (2)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
  • (2)pagenav_pagelinkrel
  • (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