The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
vB Journal v1.0.1 By Antonbomb22(Anthony Scudese) vB Journal 1.5 Beta 1 is now available, click here. Features:
Version 1.0.1:
Features for later versions:
Demos: Add-Ons(I Will not give support for these because i did not create them):
Side Credits:
![]() Notes:
Support: ~READ FIRST POST COMPLETELY BEFORE POSTING PROBLEMS AND MAKE SURE YOU DID ALL EDITS AND REQUIREMENTS!~ Support may be denied if provided files are edited/modified and support may be stopped at any time due to any circumstances. If you should run into any errors, problems, confusion, or maybe even a suggestion please foward them to one of the following places:
Contents of Zip:
I have also provided several screenshots Please click install ![]() If you are missing phrases or blank spaces in the usergroup manager click here. Updates/Fixes:
Supporters / CoAuthors Show Your Support
|
Comments |
#1022
|
||||
|
||||
![]()
I just noticed that the queries in my showthread.php file had shot up to 26.! :speechless:
<fix available here> |
#1023
|
|||
|
|||
![]()
thx for that, i have just do it
![]() |
#1024
|
||||
|
||||
![]() Quote:
Here's hoping there's a more efficient way to add that menu item... |
#1025
|
|||
|
|||
![]()
When I grow up, I want to be just as smart as Oblivion Knight is with PHP and VB...
![]() |
#1026
|
|||
|
|||
![]()
where does it take the journal id in postbit? it is showing all users with no journals because there are no id even for those who have a journal
|
#1027
|
||||
|
||||
![]() Quote:
I'll try and come up with a solution shortly.. There's got to be a better way than adding so many queries. ------------------------------------------------------------------ Ok, here it is.. The fix that will only show the menu item if the user has a journal, and grab the journal_id correctly with no additional queries added to your showthread.php page.. If you haven't already, remove this code from the includes/functions_showthread.php file: Code:
$journal= $DB_site->query_first("SELECT journal_id,journaldesc FROM ".TABLE_PREFIX."journals WHERE journalist_id='".$post[userid]."' "); if(empty($journal[journal_id])) { $show[journal]="false"; } else { $show[journal]="true"; if(strlen($journal[journaldesc])>150) { $journal[journaldesc]= "".substr($journal[journaldesc], 0, 150)."..."; } } Now in the postbit(_legacy) template, find: HTML Code:
<if condition="$show[journal]=='true'"> <tr> <td class="vbmenu_option"><a href="journal.php?do=showjournal&j=$journal[journal_id]" title="$journal[journaldesc]">Visit $post[musername]'s Journal</a></td> </tr> </if> HTML Code:
<if condition="$post['journal_id']"> <tr><td class="vbmenu_option"><a href="journal.php?$session[sessionurl]do=showjournal&j=$post[journal_id]" title="$journal[journaldesc]">Visit $post[musername]'s Journal</a></td></tr> </if> Code:
user.*, userfield.*, usertextfield.*, Code:
journal.journal_id, Code:
LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON(usertextfield.userid = user.userid) Code:
LEFT JOIN " . TABLE_PREFIX . "journals AS journal ON(journal.journalist_id = user.userid) |
#1028
|
|||
|
|||
![]()
Jeek...that saves a whole lot of queries...thanks a lot for the fix!!
|
#1029
|
|||
|
|||
![]()
Thanks Oblivion
|
#1030
|
||||
|
||||
![]()
[high]* msimplay joins the crew thanks Oblivion
![]() |
#1031
|
||||
|
||||
![]() Quote:
|
#1032
|
||||
|
||||
![]() Quote:
|
#1033
|
||||
|
||||
![]() Quote:
![]() |
#1034
|
|||
|
|||
![]()
I'm confused.....should the changes to the journal_jounalpage.php from yesterday stay the same with the new changes? If not, what changes are needed for this page?
Thanks in advance. |
#1035
|
|||
|
|||
![]()
I have another issue with the journal entry dates....how would I cause the most recent entry of the journal to appear first (reverse the order of entries)?
Thanks in advance...this is driving me nuts. |
#1036
|
||||
|
||||
![]() Quote:
Quote:
Code:
$fentries = $DB_site->query(" Code:
ORDER BY entrydate ASC Code:
ORDER BY entrydate DESC |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|