Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBJournal for vBulletin 3.5 Details »»
vBJournal for vBulletin 3.5
Version: 1.0.2 Beta, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 09-16-2005 Last Update: 11-16-2005 Installs: 597
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

This is a Port of vB Journal by An-Net

A t t e n t i o n
This Hack is unsupported and incompatible with PHP 5.
You are herby advised to not use it.
If you do have this hack installed it is advised to use vBulletin Blog instead.
You can import current entries to vBulletin Blog via Impex and uninstall this hack afterwards.

Supporters / CoAuthors

Show Your Support

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

Comments
  #1472  
Old 09-20-2006, 05:49 PM
voteforbird's Avatar
voteforbird voteforbird is offline
 
Join Date: Jul 2006
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What does this do?
Quote:
Also download the file find here for 3.6+

https://vborg.vbsupport.ru/showpost....postcount=1323
Reply With Quote
  #1473  
Old 09-20-2006, 08:05 PM
voteforbird's Avatar
voteforbird voteforbird is offline
 
Join Date: Jul 2006
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I add the journal entry to the top of the comments page? Thanks.
Reply With Quote
  #1474  
Old 09-21-2006, 12:55 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Firestar.chkn
Hi Everyone,

It's been fixed by one of my Admins. He made some changes to the journal.php file and commented his hack (search for "sn hack" without the quotes) of the code. Feel free to replace your journal.php file with this one. It should work. To the author of this hack, feel free to make use of the code changes, although you may be able to clean it up (not sure. This was done rather quickly, so it could be a quick and nasty).

I make NO guarantees, though. Please make backups of your DB and whatnot. I accept no responsibility for the changed file and offer no support whatsoever.
It enabled me to get in, but look at the screen shot now
Reply With Quote
  #1475  
Old 09-21-2006, 01:06 AM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chadi
It enabled me to get in, but look at the screen shot now

login to the admincp goto the vbjournal setting and click save the setting should work again..
Reply With Quote
  #1476  
Old 09-21-2006, 01:14 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That did not fix the width problem in the first column

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
 <title>$vboptions[bbtitle] - $vbphrase[journals]</title>
</head>
<body>
$header
$navbar
<!-- Journal Welcome Panel -->
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tbody>
<tr>
<td class="tcat" colspan="3" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('welcome_vbjournal')"><img id="collapseimg_welcome_vbjournal" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_welcome_vbjournal].gif" alt="" border="0" /></a>
$vbphrase[welcome_to_vbjournal]</td>
</tr>
</tbody>
<tbody id="collapseobj_welcome_vbjournal" style="$vbcollapse[collapsetobj_welcome_vbjournal]">
<tr>
<td class="thead" nowrap="nowrap" align="center">$vbphrase[latest_entries]</td>
<td class="thead" nowrap="nowrap" align="center">$vbphrase[latest_journals]</td>
</tr>
$latestbits
</tbody>
<tbody>
<tr>
</tr>
</tbody>
</table>
<!-- /Journal Welcome Panel -->
<br />
<table border="0" align="center" width="100%" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="$stylevar[left]" style="padding-bottom:3px;">
<if condition="$canhave[journal] AND !$bbuserinfo['journal_id']">
<a href="journal.php?$session[sessionurl]do=startjournal"><img src="$stylevar[imgdir_button]/newjournal.gif" border="0" alt="$vbphrase[start_your_journal_now]" /></a>
<else />
<if condition="$bbuserinfo['journal_id']">
<a href="journal.php?$session[sessionurl]do=gotomyjournal"><img src="$stylevar[imgdir_button]/myjournal.gif" border="0" alt="$vbphrase[go_to_your_journal]" /></a>
</if>
</if>
</td>
<td class="$stylevar[right]" style="padding-bottom:3px;">$pgnav</td>
</tr>
<tr>
<td colspan="2">
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%" style="border-bottom-width:0px">
<tbody>
<tr>
<td class="tcat" align="$stylevar[left]" width="100%">$vbphrase[journals]</td>
<td id="jlinks" class="vbmenu_control"><a href="#jlinks">$vbphrase[journal_links]</a> <script type="text/javascript"> vbmenu_register("jlinks"); </script></td>
<td id="journalsearch" class="vbmenu_control"><a href="#journalsearch">$vbphrase[search_journals]</a> <script type="text/javascript"> vbmenu_register("journalsearch"); </script></td>
</tr>
</table>
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="thead" width="15%"></td>
<td class="thead" width="70%" nowrap="nowrap">$vbphrase[journal] / $vbphrase[journal_description]</td>
<td class="thead" width="208" nowrap="nowrap" align="center">$vbphrase[last_entry]</td>
<td class="thead" width="69" nowrap="nowrap" align="center">$vbphrase[entries]</td>
<td class="thead" width="69" nowrap="nowrap" align="center">$vbphrase[comments]</td>
</tr>
</tbody>
<tbody id="collapseobj_index_journals" style="$vbcollapse[collapsetobj_index_journals]">
$journalbits
</tbody>
<if condition="$pgnav">
<tr><td class="tfoot" colspan="5" align="$stylevar[right]">
<phrase 1="$journalsstart" 2="$journalsend" 3="$journalount">$vbphrase[showing_results_x_to_y_of_z]</phrase>
</td></tr>
</if>
</table>
</td>
</tr>
<tr valign="top">
<td align="$stylevar[left]" style="padding-top:3px;">
<if condition="$canhave[journal] AND !$bbuserinfo['journal_id']">
<a href="journal.php?$session[sessionurl]do=startjournal"><img src="$stylevar[imgdir_button]/newjournal.gif" border="0" alt="$vbphrase[start_your_journal_now]" /></a>
<else />
<if condition="$bbuserinfo['journal_id']">
<a href="journal.php?$session[sessionurl]do=gotomyjournal"><img src="$stylevar[imgdir_button]/myjournal.gif" border="0" alt="$vbphrase[go_to_your_journal]" /></a>
</if>
</if>
</td>
<td class="$stylevar[right]" style="padding-top:3px;">$pgnav
<br />
</td>
</tr>
<tr>
<td colspan="2">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" align="$stylevar[left]">$vbphrase[display_options]</td>
</tr>
<tr>
<td class="thead" align="$stylevar[left]">$vbphrase[options]</td>
</tr>
<tr>
<td class="alt1" align="center">
<form action="journal.php" method="get">
<table cellpadding="0" cellspacing="1" border="0" width="auto">
<tr>
<td class="smallfont">
$vbphrase[sort_by]: <select name="sort">
<option value="journalist"<if condition="$sort=='journalist'"> select="selected"</if>>$vbphrase[journalist]</option>
<option value="journalname"<if condition="$sort=='journalname'"> selected="selected"</if>>$vbphrase[journal_name]</option>
<option value="journaldate"<if condition="$sort=='journaldate'"> selected="selected"</if>>$vbphrase[journal_start_date]</option>
<option value="journaldesc"<if condition="$sort=='journaldesc'"> selected="selected"</if>>$vbphrase[journal_description]</option>
<option value="entrycount"<if condition="$sort=='entrycount'"> selected="selected"</if>>$vbphrase[entry_count]</option>
<option value="lastentry_date"<if condition="$sort=='lastentry_date'"> selected="selected"</if>>$vbphrase[last_entry_date]</option>
<option value="lastentry"<if condition="$sort=='lastentry'"> selected="selected"</if>>$vbphrase[last_entry_title]</option>
</select>
</td>
<td class="smallfont" style="padding-left:20px">
$vbphrase[sort_order]: <select name="order">
<option value="ASC" <if condition="$order=='ASC'"> selected="selected"</if>>$vbphrase[ascending]</option>
<option value="DESC"<if condition="$order=='DESC'"> selected="selected"</if>>$vbphrase[descending]</option>
</select>
</td>
<td align="$stylevar[right]" style="padding-left:20px"><input type="submit" value="$vbphrase[show_journals]" class="button" /></td>
</tr>
</table>
</form>
</td>
</tr>
</tbody>
</table>
<div class="vbmenu_popup" id="journalsearch_menu" style="display:none">
<form action="journal.php" method="get">
<input type="hidden" name="do" value="searchresults" />
<input type="hidden" name="st" value="3" />
  <table cellpadding="4" cellspacing="1" border="0">
  <tr><td class="thead">$vbphrase[search_journals]</td></tr>
  <tr><td class="vbmenu_option" title="nohilite"><input type="text" name="sk" value="" size="20" maxlength="50" /> $gobutton<!--input type="submit" value="Go" class="button" /--></td></tr>
<tr><td class="vbmenu_option"><a href="journal.php?do=search" title="$vbphrase[advanced_journal_search]">$vbphrase[advanced_search]</a></td></tr>
</table>
</form>
</div>
<div class="vbmenu_popup" id="jlinks_menu" style="display:none">
 <table cellpadding="4" cellspacing="1" border="0">
 <tr><td class="thead">$vbphrase[journal_links]</td></tr>
 <if condition="$canhave[journal]"><tr><td class="vbmenu_option"><a href="journal.php?do=gotomyjournal">$vbphrase[my_journal]</a></td></tr>
 <tr><td class="vbmenu_option"><a href="journal.php?do=gotomyjournal&amp;action=addentry">$vbphrase[new_entry]</a></td></tr></if>
 <tr><td class="vbmenu_option"><a href="journal.php?do=topjournals">$vbphrase[top_journals_list]</a></td></tr>
  </table>
</div>
<!-- / NAVBAR POPUP MENUS -->
<br />
<br />
</td>
</tr>
<tr>
<td colspan="2">
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('index_wov')">
<img id="collapseimg_index_wov" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_index_wov].gif" alt="" border="0"></a>
<a href="online.php">$vbphrase[currently_active_users]</a>: $totalviewing (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)</td>
</tr>
</tbody>
<tbody id="collapseobj_index_wov" style="$vbcollapse[collapsetobj_index_wov]">
<tr>
<td class="alt2" align="center"><a href="online.php"><img src="$stylevar[imgdir_misc]/whos_online.gif" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$activeusers</div></td>
</tr>
</tbody>
<tbody>
<tr>
<td class="thead" colspan="2"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('index_statistics')">
<img id="collapseimg_index_statistics" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_index_statistics].gif" alt="" border="0"></a><phrase 1="$vboptions[bbtitle]">$vbphrase[x_journal_statistics]</phrase></td>
</tr>
</tbody>
<tbody id="collapseobj_index_statistics" style="$vbcollapse[collapsetobj_index_statistics]">
<tr>
<td class="alt2" align="center"><img src="$stylevar[imgdir_misc]/stats.gif" /></td>
<td class="alt1"><div class="smallfont">$vbphrase[journals]: $totaljournals, $vbphrase[entries]: $total[entries], $vbphrase[comments]: $total[comments], $vbphrase[views]: $total[views]</div>
<div class="smallfont"><phrase 1="$session[sessionurl]" 2="$getlatestj[journal_id]" 3="$getlatestj[journalist]">$vbphrase[welcome_to_our_newest_journalist_x]</phrase></div>
<div class="smallfont">$vbphrase[your_current_journal_status_is]: <if condition="$bbuserinfo[private]=='1'"><b><font color="red">$vbphrase[private]</font></b><else /><if condition="$bbuserinfo[private]==''"><b><font color="orange">$vbphrase[non_existent]</font></b><else /><b><font color="green">$vbphrase[public]</font></b></if></if></div></td>
</tr>
</tbody>
<tbody>
<tr>
<td class="thead" colspan="2"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('index_buddies')"><img id="collapseimg_index_buddies" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_index_buddies].gif" alt="" border="0"></a><a href="profile.php?$session[sessionurl]do=editlist">$vbphrase[buddy_journals]</a>: $buddycount</td>
</tr>
</tbody>
<tbody id="collapseobj_index_buddies" style="$vbcollapse[collapsetobj_index_buddies]">
<tr>
<td class="alt2" align="center"><a href="profile.php?$session[sessionurl]do=editlist"><img src="$stylevar[imgdir_misc]/buddy_journals.gif" border="0" alt="" /></a></td>
<td class="alt1"><div class="smallfont">$jbuddy_listbits</div></td>
</tr>
</tbody>
<tr>
<td class="tfoot" colspan="2" align="center"><div class="smallfont"><strong><if condition="$bbuserinfo[userid]!=0"><a href="journal.php?do=markjournalsread">$vbphrase[mark_journals_read]</a><else />&nbsp;</if></strong></div></td>
</tr></td>
</tr>
</table>
</td>
</tr>
</table>
$footer
</body>
</html>
It looks normal in 1600x1200 with the above modified JOURNAL template. However, moving down smaller resolutions crushes the fist column again. I tried 150 (pixel) and tried 15%, 12%, same problem. Why?
Reply With Quote
  #1477  
Old 09-21-2006, 06:55 AM
sross sross is offline
 
Join Date: Mar 2004
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, my queries did not run so i was going to run them in phpmyadmin but i am unsure what syntax to use> currently it is for example:

Code:
$db->query_write("
	CREATE TABLE " . TABLE_PREFIX . "journal_comments (
	comment_id int(10) NOT NULL auto_increment,
	journal_id int(10) NOT NULL,
	entry_id int(10) NOT NULL,
	commenter varchar(50) NOT NULL,
	commenter_id int(10) NOT NULL,
	comment_title varchar(100) NOT NULL,
	comment_text text NOT NULL,
	comment_date int(10) NOT NULL,
	ipaddress varchar(15) NOT NULL,
	PRIMARY KEY (comment_id))
");
But i do not think that is right for manually running the query. If someone could supply what the above should be i can mimic it to the rest. Total mysql noob.

Thanks!
Reply With Quote
  #1478  
Old 09-21-2006, 10:32 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know how to fix that width problem in first column, or perhaps replace it with icons instead?
Reply With Quote
  #1479  
Old 09-21-2006, 12:47 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chadi
Anyone know how to fix that width problem in first column, or perhaps replace it with icons instead?

try this - The Original temp

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
	<title>$vboptions[bbtitle] - $vbphrase[journals]</title>
</head>
<body>
$header
$navbar
<!-- Journal Welcome Panel -->
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tbody>
<tr>
<td class="tcat" colspan="3" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('welcome_vbjournal')"><img id="collapseimg_welcome_vbjournal" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_welcome_vbjournal].gif" alt="" border="0" /></a>
$vbphrase[welcome_to_vbjournal]</td>
</tr>
</tbody>
<tbody id="collapseobj_welcome_vbjournal" style="$vbcollapse[collapsetobj_welcome_vbjournal]">
<tr>
<td class="thead" nowrap="nowrap" align="center">$vbphrase[latest_entries]</td>
<td class="thead" nowrap="nowrap" align="center">$vbphrase[latest_journals]</td>
</tr>
$latestbits
</tbody>
<tbody>
<tr>
</tr>
</tbody>
</table>
<!-- /Journal Welcome Panel -->
<br />

<table border="0" align="center" width="100%" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="$stylevar[left]" style="padding-bottom:3px;">
<if condition="$canhave[journal] AND !$bbuserinfo['journal_id']">
<a href="journal.php?$session[sessionurl]do=startjournal"><img src="$stylevar[imgdir_button]/newjournal.gif" border="0" alt="$vbphrase[start_your_journal_now]" /></a>
<else />
<if condition="$bbuserinfo['journal_id']">
<a href="journal.php?$session[sessionurl]do=gotomyjournal"><img src="$stylevar[imgdir_button]/myjournal.gif" border="0" alt="$vbphrase[go_to_your_journal]" /></a>
</if>
</if>
</td>
<td class="$stylevar[right]" style="padding-bottom:3px;">$pgnav</td>
</tr>
<tr>
<td colspan="2">
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%" style="border-bottom-width:0px">
<tbody>
<tr>
<td class="tcat" align="$stylevar[left]" width="100%">$vbphrase[journals]</td>
<td id="jlinks" class="vbmenu_control"><a href="#jlinks">$vbphrase[journal_links]</a> <script type="text/javascript"> vbmenu_register("jlinks"); </script></td>
<td id="journalsearch" class="vbmenu_control"><a href="#journalsearch">$vbphrase[search_journals]</a> <script type="text/javascript"> vbmenu_register("journalsearch"); </script></td>
</tr>
</table>
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="thead">&nbsp;</td>
<td class="thead" nowrap="nowrap">$vbphrase[journal] / $vbphrase[journal_description]</td>
<td class="thead" width="208" nowrap="nowrap" align="center">$vbphrase[last_entry]</td>
<td class="thead" width="69" nowrap="nowrap" align="center">$vbphrase[entries]</td>
<td class="thead" width="69" nowrap="nowrap" align="center">$vbphrase[comments]</td>
</tr>
</tbody>
<tbody id="collapseobj_index_journals" style="$vbcollapse[collapsetobj_index_journals]">
$journalbits
</tbody>
<if condition="$pgnav">
<tr><td class="tfoot" colspan="5" align="$stylevar[right]">
<phrase 1="$journalsstart" 2="$journalsend" 3="$journalount">$vbphrase[showing_results_x_to_y_of_z]</phrase>
</td></tr>
</if>
</table>
</td>
</tr>
<tr valign="top">
<td align="$stylevar[left]" style="padding-top:3px;">
<if condition="$canhave[journal] AND !$bbuserinfo['journal_id']">
<a href="journal.php?$session[sessionurl]do=startjournal"><img src="$stylevar[imgdir_button]/newjournal.gif" border="0" alt="$vbphrase[start_your_journal_now]" /></a>
<else />
<if condition="$bbuserinfo['journal_id']">
<a href="journal.php?$session[sessionurl]do=gotomyjournal"><img src="$stylevar[imgdir_button]/myjournal.gif" border="0" alt="$vbphrase[go_to_your_journal]" /></a>
</if>
</if>
</td>
<td class="$stylevar[right]" style="padding-top:3px;">$pgnav
<br />
</td>
</tr>
<tr>
<td colspan="2">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" align="$stylevar[left]">$vbphrase[display_options]</td>
</tr>
<tr>
<td class="thead" align="$stylevar[left]">$vbphrase[options]</td>
</tr>
<tr>
<td class="alt1" align="center">
<form action="journal.php" method="get">
<table cellpadding="0" cellspacing="1" border="0" width="auto">
<tr>
<td class="smallfont">
$vbphrase[sort_by]: <select name="sort">
<option value="journalist"<if condition="$sort=='journalist'"> select="selected"</if>>$vbphrase[journalist]</option>
<option value="journalname"<if condition="$sort=='journalname'"> selected="selected"</if>>$vbphrase[journal_name]</option>
<option value="journaldate"<if condition="$sort=='journaldate'"> selected="selected"</if>>$vbphrase[journal_start_date]</option>
<option value="journaldesc"<if condition="$sort=='journaldesc'"> selected="selected"</if>>$vbphrase[journal_description]</option>
<option value="entrycount"<if condition="$sort=='entrycount'"> selected="selected"</if>>$vbphrase[entry_count]</option>
<option value="lastentry_date"<if condition="$sort=='lastentry_date'"> selected="selected"</if>>$vbphrase[last_entry_date]</option>
<option value="lastentry"<if condition="$sort=='lastentry'"> selected="selected"</if>>$vbphrase[last_entry_title]</option>
</select>
</td>
<td class="smallfont" style="padding-left:20px">
$vbphrase[sort_order]: <select name="order">
<option value="ASC" <if condition="$order=='ASC'"> selected="selected"</if>>$vbphrase[ascending]</option>
<option value="DESC"<if condition="$order=='DESC'"> selected="selected"</if>>$vbphrase[descending]</option>
</select>
</td>
<td align="$stylevar[right]" style="padding-left:20px"><input type="submit" value="$vbphrase[show_journals]" class="button" /></td>
</tr>
</table>
</form>
</td>
</tr>
</tbody>
</table>
<div class="vbmenu_popup" id="journalsearch_menu" style="display:none">
<form action="journal.php" method="get">
<input type="hidden" name="do" value="searchresults" />
<input type="hidden" name="st" value="3" />
		<table cellpadding="4" cellspacing="1" border="0">

		<tr><td class="thead">$vbphrase[search_journals]</td></tr>
		<tr><td class="vbmenu_option" title="nohilite"><input type="text" name="sk" value="" size="20" maxlength="50" /> $gobutton<!--input type="submit" value="Go" class="button" /--></td></tr>
<tr><td class="vbmenu_option"><a href="journal.php?do=search" title="$vbphrase[advanced_journal_search]">$vbphrase[advanced_search]</a></td></tr>
</table>
</form>
</div>
<div class="vbmenu_popup" id="jlinks_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr><td class="thead">$vbphrase[journal_links]</td></tr>
	<if condition="$canhave[journal]"><tr><td class="vbmenu_option"><a href="journal.php?do=gotomyjournal">$vbphrase[my_journal]</a></td></tr>
	<tr><td class="vbmenu_option"><a href="journal.php?do=gotomyjournal&amp;action=addentry">$vbphrase[new_entry]</a></td></tr></if>
	<tr><td class="vbmenu_option"><a href="journal.php?do=topjournals">$vbphrase[top_journals_list]</a></td></tr>
		</table>
</div>

<!-- / NAVBAR POPUP MENUS -->
<br />
<br />
</td>
</tr>
<tr>
<td colspan="2">
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('index_wov')">
<img id="collapseimg_index_wov" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_index_wov].gif" alt="" border="0"></a>
<a href="online.php">$vbphrase[currently_active_users]</a>: $totalviewing (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)</td>
</tr>
</tbody>
<tbody id="collapseobj_index_wov" style="$vbcollapse[collapsetobj_index_wov]">
<tr>
<td class="alt2" align="center"><a href="online.php"><img src="$stylevar[imgdir_misc]/whos_online.gif" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$activeusers</div></td>
</tr>
</tbody>
<tbody>
<tr>
<td class="thead" colspan="2"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('index_statistics')">
<img id="collapseimg_index_statistics" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_index_statistics].gif" alt="" border="0"></a><phrase 1="$vboptions[bbtitle]">$vbphrase[x_journal_statistics]</phrase></td>
</tr>
</tbody>
<tbody id="collapseobj_index_statistics" style="$vbcollapse[collapsetobj_index_statistics]">
<tr>
<td class="alt2" align="center"><img src="$stylevar[imgdir_misc]/stats.gif" /></td>
<td class="alt1"><div class="smallfont">$vbphrase[journals]: $totaljournals, $vbphrase[entries]: $total[entries], $vbphrase[comments]: $total[comments], $vbphrase[views]: $total[views]</div>
<div class="smallfont"><phrase 1="$session[sessionurl]" 2="$getlatestj[journal_id]" 3="$getlatestj[journalist]">$vbphrase[welcome_to_our_newest_journalist_x]</phrase></div>
<div class="smallfont">$vbphrase[your_current_journal_status_is]: <if condition="$bbuserinfo[private]=='1'"><b><font color="red">$vbphrase[private]</font></b><else /><if condition="$bbuserinfo[private]==''"><b><font color="orange">$vbphrase[non_existent]</font></b><else /><b><font color="green">$vbphrase[public]</font></b></if></if></div></td>
</tr>
</tbody>
<tbody>
<tr>
<td class="thead" colspan="2"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('index_buddies')"><img id="collapseimg_index_buddies" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_index_buddies].gif" alt="" border="0"></a><a href="profile.php?$session[sessionurl]do=editlist">$vbphrase[buddy_journals]</a>: $buddycount</td>
</tr>
</tbody>
<tbody id="collapseobj_index_buddies" style="$vbcollapse[collapsetobj_index_buddies]">
<tr>
<td class="alt2" align="center"><a href="profile.php?$session[sessionurl]do=editlist"><img src="$stylevar[imgdir_misc]/buddy_journals.gif" border="0" alt="" /></a></td>
<td class="alt1"><div class="smallfont">$jbuddy_listbits</div></td>
</tr>
</tbody>
<tr>
<td class="tfoot" colspan="2" align="center"><div class="smallfont"><strong><if condition="$bbuserinfo[userid]!=0"><a href="journal.php?do=markjournalsread">$vbphrase[mark_journals_read]</a><else />&nbsp;</if></strong></div></td>
</tr></td>
</tr>
</table>
</td>
</tr>
</table>
$footer
</body>
</html>
Reply With Quote
  #1480  
Old 09-24-2006, 03:36 PM
mikeclarke's Avatar
mikeclarke mikeclarke is offline
 
Join Date: Nov 2005
Location: South Jersey
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Firestar.chkn
Hi Everyone,

It's been fixed by one of my Admins. He made some changes to the journal.php file and commented his hack (search for "sn hack" without the quotes) of the code. Feel free to replace your journal.php file with this one. It should work. To the author of this hack, feel free to make use of the code changes, although you may be able to clean it up (not sure. This was done rather quickly, so it could be a quick and nasty).

I make NO guarantees, though. Please make backups of your DB and whatnot. I accept no responsibility for the changed file and offer no support whatsoever.
Thank you very much for the fix.
Reply With Quote
  #1481  
Old 09-24-2006, 07:22 PM
Firestar.chkn Firestar.chkn is offline
 
Join Date: Aug 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pleasure Guys.

I'm now getting another error:
Quote:
Parse error: syntax error, unexpected T_PRIVATE, expecting ']' in /var/www/forums.prophecy.co.za/journal.php(567) : eval()'d code on line 188
Can anyone help with this error? If not, I'll get someone to try and look at it and post the fix here. I'm not getting SQL errors... yet
Reply With Quote
Reply


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 06:34 PM.


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.06722 seconds
  • Memory Usage 2,377KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (6)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
  • (4)pagenav_pagelinkrel
  • (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