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)

redd 01-24-2003 01:52 PM

Would this page http://www.devarticles.com/art/1/110/ help anyone that understands php to create multiple pages for the journals?

ethics 01-25-2003 07:53 PM

Well, I finally used this. Was a breeze. Anyone who needs the templates (for the template backup import) instead of hacking the journal.php see the attached file (it has all templates used in this hack).

sabret00the 01-26-2003 12:27 AM

i've searched this thread and basically altho i saw a half answer i'm looking for a full answer (meaning not firefly's hack lol)

basically i'd like it so that when you view online.php is says who's journal you're viewing, is that possible at all?

ethics 01-26-2003 12:57 AM

There's no other way, but firefly's hack is fast, easy, and will work for you for many other hacks. I have soooo many different hacks installed on my board and now, with FireFly's hack. everyone knows where and what others are doing. :)

sabret00the 01-26-2003 02:10 AM

i think i'll have to try writing it myslef then :-S

sabret00the 01-26-2003 05:54 PM

been having a few problems with that idea, but i'll muster on

new thing tho' how do you add smilies to the addentry page and add comments page 0_o

oh and is there a way to only allow members to view journals?

ChurchMedia 02-02-2003 08:25 PM

Fantastic hack! Just what I was looking for. :) Is there a way to let users include html or VB code in their entries?

ChurchMedia 02-03-2003 12:48 AM

Quote:

Originally posted by Koss
just a suggestion, maybe add a column on the member page (members.php) with a link of all the members with a journal
Here's how to do this:

In memberlist.php find:
Code:

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

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="{categorybackcolor}" 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="{tableheadbgcolor}" align="center"><smallfont color="{tableheadtextcolor}"><b>Journal</b></smallfont></td>
In the memberlistbit template find:

Code:

</tr>
Right above that add:

Code:

<td bgcolor="{firstaltcolor}">$journal</td>
That should do it :)

geniuscrew 02-04-2003 12:47 PM

OK I deleted the first entry and I got "Deathsttryke's Journal Entries : -1"

I posted my own and my entries equalled 0 - [ makes sense]

Can you make so that either a] you can delete the welcome message or b] you can delete it but it doesn't change?

Thanks

Other than that, wicked hack!

Crinos 02-05-2003 06:19 AM

Great hack ... anyone know a way of showing a list of all user journals?


All times are GMT. The time now is 06:02 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.01288 seconds
  • Memory Usage 1,740KB
  • 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
  • (7)bbcode_code_printable
  • (1)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