View Full Version : vB Journal for vBulletin 3.0.3(v1.0.1)
AN-net
09-16-2004, 10:00 PM
vB Journal v1.0.1
By Antonbomb22(Anthony Scudese)
vB Journal 1.5 Beta 1 is now available, click here (https://vborg.vbsupport.ru/showthread.php?t=100385).
Features:
Full vBulletin 3.0.3 intergration
Install file for SQL queries
Comment System
"GoToMyJournal"
link from postbit to journal
link from profile to journal
link from memberlist to journal
usergroup permissions
journal buddy system(by Wonko)
Journal Search Engine
journal highlight
bbcode parsing
smilie parsing
Admin Cp Support Section
Journal Status Icons
Who is viewing
most recent journal entries and journals
Who Can View for journals and entries
Complete journal and entry privacy
Comment on entries or journals
Journal Moderation(Like Post and Thread Moderation)
Entry Moderation(Like Post and Thread Moderation)
Pagination
Rating System
Lock System
Moods
"Can Have Journal" on a per user basis
Ip Logging
Journalists can name their journals
Export entries in TXT or XML format
Flood System
Administrators have absolute permissions
Search in Journal
Last Entry on Journal Index
Numerous AdminCp Settings
Unique Standard vB Images for vB Journal
View Single Entry
and so much more...
Version 1.0.1:
Many parts of vB Journal 1.0.0 were rewritten to cap security holes lurking within the code.
Features for later versions:
journalists can specify colors for their journal
attachments
subscriptions
journal moderators
report system
more administration options
complete phrasing
Demos:
http://www.animationation.net/community/journal.php
http://www.wellage.net/journal.php
Add-Ons(I Will not give support for these because i did not create them):
vBadvanced CMPS Latest Journal Entries Block (https://vborg.vbsupport.ru/showthread.php?p=555883)
vBindex Latest Journal Entries Block (https://vborg.vbsupport.ru/showthread.php?&threadid=69846)
RSS 1.0 for vB Journal 1.0.0 (https://vborg.vbsupport.ru/showpost.php?p=564200&postcount=384)
Side Credits:
Journal Buddy System ~ WonkotheSane
Closed Beta Tester ~ Pitman
Closed Beta Tester ~ DantX
Helpful Person ~ Oblivion Knight
And to all those who helped me find my mistakes and encourage me:D
Notes:
The WOL(Who's Online) is not yet finished but will be released shortly due to some bugs and flaws
You may not remove the copyright notice!
An import script for Ryangle's ported Journal will be made so dont install this hack for now if you have the vb3 port of Ryangle's ;)
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:
Official vB Journal Support&Suggestion Forum (http://www.animationation.net/community/forumdisplay.php?f=68)
AIM: Antonbomb22
Email: antonbomb22@animationation.net
Or this thread
Contents of Zip:
install.txt
journal.php
journaladmin.php
journalinstall.php
images
I have also provided several screenshots
Please click install:) https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=69538)
If you are missing phrases or blank spaces in the usergroup manager click here (https://vborg.vbsupport.ru/showpost.php?p=553468&postcount=56).
Updates/Fixes:
Updated zip and journalinstall.php due to a typo(click here for fix:https://vborg.vbsupport.ru/showpost.php?p=553279&postcount=11)
fixed a missing " in install.txt, it doesnt cause an error but its a fix:) (Click here for fix: https://vborg.vbsupport.ru/showpost.php?p=553288&postcount=16)
updated zip and journal.php, fixed sql queries that caused problems(Click here for fix: https://vborg.vbsupport.ru/showpost.php?p=553304&postcount=25)
fixed a type in journal.php, zip and file updated(Click here for fix:https://vborg.vbsupport.ru/showpost.php?p=553314&postcount=31)
updated zip,updated journalinstall.php, and uploaded phrasefix.php to fix the usergroup phrase problem(click here for fix: https://vborg.vbsupport.ru/showpost.php?p=553319&postcount=36)(09/16/04)
for those who may be experiencing problems due to conflicts with the articles hack follow these following changes: https://vborg.vbsupport.ru/showpost.php?p=553756&postcount=114(09/18/04)
for those experiencing blanks or missing descriptions for usergroup permissions use this fix until further notice(for /admincp/usergroup.php): https://vborg.vbsupport.ru/showpost.php?p=553468&postcount=56(09/18/04)
updated zip and journal.php for more compatiability with vb and more likeness with vb (use the following fix: https://vborg.vbsupport.ru/showpost.php?p=553781&postcount=120)(09/18/04)
updated zip and install.txt due to a mistake in functions.php file edit(use the following fix: https://vborg.vbsupport.ru/showpost.php?p=553796&postcount=122)(09/18/04)
updated zip and journaladmin.php for moderate entries due to an sql error(use this fix: https://vborg.vbsupport.ru/showpost.php?p=553904&postcount=130)(09/19/04)
updated zip and journal.php for beefed up privacy in journals and their entries(use this fix: https://vborg.vbsupport.ru/showpost.php?p=558944&postcount=292)(10/04/04)
update zip and journal.php, this fix fixes the permission troubles and mood problems occuring( https://vborg.vbsupport.ru/showpost.php?p=564791&postcount=391)(10/23/04)
updated zip and journal.php, this fix will provide a new update system which hopefully weeds out any potential problems!(https://vborg.vbsupport.ru/showpost.php?p=573444&postcount=574)(11/17/04)
updated zip and journal.php, fixing some guest loop holes(https://vborg.vbsupport.ru/showpost.php?p=581924&postcount=645)(12/13/04)
updated zip and journal.php, fixes possible sql injection problem(https://vborg.vbsupport.ru/showpost.php?p=624596&postcount=902)(3/12/05)
updated zip and journal.php, fixes LEFT JOIN typo(https://vborg.vbsupport.ru/showpost.php?p=630075&postcount=948)(3/23/05)
vB Journal Upgraded to v.1.0.1 with many security holes patched.(7/1/05)
Security Update: a XSS vulnerability was found within journal.php, to patch this see this post (https://vborg.vbsupport.ru/showpost.php?p=778324&postcount=1459), the zip has been updated as well.(9/23/05)
-=Sniper=-
09-16-2004, 10:24 PM
thanks dude! will try this out!
Amavisca
09-16-2004, 10:25 PM
Thxn 2nd post OMG!!!
nexialys
09-16-2004, 10:37 PM
Hu AN-net... you will have an update in no long... i'm looking at the install script and see you have no real install process... i'll create a single file for everything to ADD/CREATE in the db...
will be up in about 10...
rex_b
09-16-2004, 10:40 PM
Omg>. Installing Now!!!!!!!!!!
AN-net
09-16-2004, 10:40 PM
Hu AN-net... you will have an update in no long... i'm looking at the install script and see you have no real install process... i'll create a single file for everything to ADD/CREATE in the db...
will be up in about 10...
what do you mean?
FleaBag
09-16-2004, 10:42 PM
Any upgrade route from previous versions?
AN-net
09-16-2004, 10:43 PM
Any upgrade route from previous versions?
there are no previous versions;)
MrLister
09-16-2004, 10:54 PM
great hack!
AN-net
09-16-2004, 11:01 PM
there is a typo in journalinstall.php
upload and overwrite the old with the attached file
i will update the zip
nexialys
09-16-2004, 11:12 PM
what do you mean?
i simply mean that you have an install script but it does not contain the templates (simple addition) and even if you have a part of the instal containing some phrases, most of the text in your system is hardcoded...
i just saw your hardcoded text in the templates, and it would mean a lot of time to just rebuild it to use only phrases, so i think i will wait for that install script i just offered...
AN-net
09-16-2004, 11:26 PM
i clearly stated the install script was for SQL queries only:) and i said in the development thread i didnt put the templates in there because i did not know how to...... if you want to help me with that you can;)
i am going to phrase the journal system for the next version but for now hardocoded words in templates wont kill anyone
In the admincp/usergroup.php modifications, you are missing a " on this line:
print_yes_no_row("Can Delete Own Journal Entries, 'usergroup[candeleteownentries]', $ug_bitfield['candeleteownentries']);
Should be:
print_yes_no_row("Can Delete Own Journal Entries", 'usergroup[candeleteownentries]', $ug_bitfield['candeleteownentries']);
AN-net
09-16-2004, 11:32 PM
In the admincp/usergroup.php modifications, you are missing a " on this line:
print_yes_no_row("Can Delete Own Journal Entries, 'usergroup[candeleteownentries]', $ug_bitfield['candeleteownentries']);
Should be:
print_yes_no_row("Can Delete Own Journal Entries", 'usergroup[candeleteownentries]', $ug_bitfield['candeleteownentries']);
yes we noticed that but that doesnt cause an error so its not worry, the install file has been updated
spence2
09-16-2004, 11:36 PM
Hu AN-net... you will have an update in no long... i'm looking at the install script and see you have no real install process... i'll create a single file for everything to ADD/CREATE in the db...
will be up in about 10...
Great!
An-NET,
Thank you so very much for accepting my request and for following through with it! You have been terrific about communicating with all of us through-out the whole process. It's made the "wait" a lot easier.
You're the greatest! And thanks from the whole community. :)
yes we noticed that but that doesnt cause an error so its not worry, the install file has been updated
Yes it does. It causes a t_space encapsulated somethingorother error that causes you to be unable to get to usergroup.php in the AdminCP.
AN-net
09-16-2004, 11:43 PM
Yes it does. It causes a t_space encapsulated somethingorother error that causes you to be unable to get to usergroup.php in the AdminCP.
your correct, i didnt notice mine had the " in it, anyways thanks for reporting that
venomx
09-16-2004, 11:44 PM
When I view the demo.. Users Viewing: 0 (Members: 0, Guests: 0)
Also, for some reason the Phrases for usergroup.php aren't getting pulled.
Would it make a difference if they were placed in 'permissions phrases' rather than 'Global Phrases'?
nexialys
09-16-2004, 11:49 PM
@An-net... will you re-activate the "report" thingy ?!
also... i edited this: (you can update to your convenience if needed)
//######### Begin Building Permissions ################################
$canview['journals'] = iif($permissions['journalpermissions'] & CANVIEWJOURNAL, true, false);
$canhave['journal'] = iif((($permissions['journalpermissions'] & CANHAVEJOURNAL) AND ($bbuserinfo['canhavejournal']==1)), true, false);
$canview['comments'] = iif($permissions['journalpermissions'] & CANVIEWCOMMENTS, true, false);
$can['comment'] = iif((($permissions['journalpermissions'] & CANCOMMENTJOURNALS) AND ($setting['allow_commenting']==1)), true, false);
$can['rate'] = iif($permissions['journalpermissions'] & CANRATEJOURNALS, true, false);
$can['report'] = iif((($permissions['journalpermissions'] & CANREPORTENTRIES) AND ($setting['allow_reporting']==1)), true, false);
$can['search'] = iif((($permissions['journalpermissions'] & CANSEARCHJOURNAL) AND ($setting['allow_searching']==1)), true, false);
$caneditown['journal'] = iif($permissions['journalpermissions'] & CANEDITOWNJOURNAL, true, false);
$caneditown['entry'] = iif($permissions['journalpermissions'] & CANEDITOWNENTRY, true, false);
$candeleteown['journal'] = iif($permissions['journalpermissions'] & CANDELETEOWNJOURNAL, true, false);
$candeleteown['entry'] = iif($permissions['journalpermissions'] & CANDELETEOWNENTRY, true, false);
//######### Stop Building Permissions ################################
rex_b
09-16-2004, 11:54 PM
Also, for some reason the Phrases for usergroup.php aren't getting pulled.
Would it make a difference if they were placed in 'permissions phrases' rather than 'Global Phrases'?
ditto
rex_b
09-16-2004, 11:56 PM
anybody else getting this?
Invalid SQL: SELECT
journals.journal_id, journals.journalname, journals.journaldesc,
journals.journalist, journals.journalist_id, entrycount, commentcount, usertextfield.jbuddylist, ipaddress, journals.lastentry,
journals.lastentry_date, journals.private, journals.whocanview, journals.lastentry_id, journals.status, journals.allowbuddies, journals.journalviews,
journals.journal_totalrating AS totalrating, journals.journal_totalvotes AS totalvotes
FROM vb3journals AS journals
LEFT JOIN vb3usertextfield ON (journals.journalist_id=usertextfield.userid)
WHERE journals.active='1'
ORDER BY journaldate ASC
LIMIT 0,10
mysql error: Unknown table 'usertextfield' in field list
mysql error number: 1109
AN-net
09-16-2004, 11:56 PM
Seems to a problem with some of the queries using LEFT JOIN
upload this updated file with the new journal.php, i will update the zip shortly
edit:updated made a typo:)
edit2: fixed missed a ".TABLE_PREFIX."
nexialys
09-16-2004, 11:57 PM
hum.. .this is a missing " . TABLE_PREFIX . " .. you can fix this by hand i think ..;)
rex_b
09-17-2004, 12:03 AM
Yah.. I Got It Working!!
**clicks Install
Yah.. I Got It Working!!
**clicks Install
Including the stuff in admincp/usergroup.php?
rinkrat
09-17-2004, 12:16 AM
This looks awesome, what a great community builder!
rex_b
09-17-2004, 12:18 AM
Including the stuff in admincp/usergroup.php?
I spoke so soon. STill working on it. lol :ninja:
AN-net
09-17-2004, 12:19 AM
ok this fixes 2 little typos by me:)
upload and overwrite the old journal.php, i will update zip
rex_b
09-17-2004, 12:23 AM
^that did it^
I spoke so soon. STill working on it. lol :ninja:
If you change journal_permissions to GLOBAL and the rest to Permissions, it should work.
For some reason tho, there doesn't seem to be a Phrase for Can Report Journals.
venomx
09-17-2004, 12:24 AM
When I view the demo.. Users Viewing: 0 (Members: 0, Guests: 0)
Noone else seen this on the demo?
rex_b
09-17-2004, 12:27 AM
If you change journal_permissions to GLOBAL and the rest to Permissions, it should work.
For some reason tho, there doesn't seem to be a Phrase for Can Report Journals.
how does one change it to global?
AN-net
09-17-2004, 12:31 AM
run this file, it should fix the usergroup phrase problem:)
this moves the phrases to the permissions phrasegroup
edit: forgot to include global.php
Sweet..
Now I'm having difficulties with JBuddies.
I can see the box on the modifylist page, but when i add a name to it, the page comes back without any names in the boxes, and they aren't showing on the Journal page.
They are in the database tho...I can see them with phpmyadmin, in the usertextfield table, jbuddylist column.
Any ideas?
*edit* Looks like whenever I submit it, whatever is in the field already is replaced with the new one.
TheComputerGuy
09-17-2004, 02:17 AM
I just looked at the install...will install this tomorrow.
Thanks man!!
Bryan Ex
09-17-2004, 02:19 AM
I like it! I like it a lot actually. If Obilivion or someone else comes up with an import script from "that other journal" I'll make the switch for sure. I've just got too much into my current one to just dump it and start over.
???`S?LV?R???`
09-17-2004, 05:52 AM
nice job
Oblivion Knight
09-17-2004, 06:17 AM
If Obilivion or someone else comes up with an import script from "that other journal" I'll make the switch for sure.If someone could provide me with a table dump of this journal system, I'll take a look at it when I have some spare time. No promises though, database queries aren't my strong point..
I plan on doing a private update with "the other" Journal hack that won't be released instead of switching system.. Unless of course, ChocoJournal is released.
Bryan Ex
09-17-2004, 06:25 AM
That's right... it was ChocoJournal you were looking at, not this one. My mistake Oblivion. I could probably do it manually actually but I'd want to see a bunch of installs first so I know any "new hack bugs" are sorted out first. I really like all the added functionality of this version and will be switching, I just won;t be one of the first that's all.
sabret00the
09-17-2004, 07:53 AM
If someone could provide me with a table dump of this journal system, I'll take a look at it when I have some spare time. No promises though, database queries aren't my strong point..
I plan on doing a private update with "the other" Journal hack that won't be released instead of switching system.. Unless of course, ChocoJournal is released.
what you got planned anything good?
memobug
09-17-2004, 08:17 AM
I like it! I like it a lot actually. If Obilivion or someone else comes up with an import script from "that other journal" I'll make the switch for sure. I've just got too much into my current one to just dump it and start over.
Which other journal is the other journal? I have the vb2 Journal (Ryangel?). Actually it's sitting around in orphaned tables in my vb3 forum. I would love an upgrade path to this script.
Is there any chance of that happening?
Regards,
Matt
Oblivion Knight
09-17-2004, 09:41 AM
what you got planned anything good?Catch me on AIM/MSN sometime, I don't want to take anything away from this Journal hack as it is clear that a lot of time and effort has been put into it.
Which other journal is the other journal? I have the vb2 Journal (Ryangel?). Actually it's sitting around in orphaned tables in my vb3 forum.A vB3 port was done of Ryangel's journal hack (with an upgrade script for those that ran the vB2 version previously). Several users from EvB worked on it as an open source project, but because we never received a reply from Ryangel we weren't allowed to post it here at vB.org..
Milktruck
09-17-2004, 11:31 AM
When I created the journal_entrybits template, I received the following error:
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/includes/adminfunctions_template.php(3037) : eval()'d code on line 40
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Infopro
09-17-2004, 11:40 AM
This looks like it should be in beta releases instead of full releases. It's going to be a great setup once the bugs are worked out I think.
But this is too much.
vB Journal(Version: 1.0.0) by Antonbomb22
Antonbomb22(Anthony Scudese) holds all rights to this code and code may not be redistributed,modifed, or duplicated without consent.
That's the longest tag line of any mod there is.
nexialys
09-17-2004, 11:44 AM
ya, infopro is right... AN-net, you don't need to apply such a tagline, this kind of tag is useless and protect you nowhere...
just keep it clean in the files, that's all you can ask for a good credit. keep the version line, but not the long tagline please... (its usual procedural.)
Milktruck
09-17-2004, 11:45 AM
This looks like it should be in beta releases instead of full releases. It's going to be a great setup once the bugs are worked out I think.
I agree on all points. I almost feel bad since some people have been waiting and waiting for this, and I stumbled upon it today. :o
arurcard
09-17-2004, 12:02 PM
installing
Milktruck
09-17-2004, 12:30 PM
When I created the journal_entrybits template, I received the following error:
I received 4 more errors.. and I continued.
Shouldn't have though... because I get this when I try to create a journal..
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/journal.php(753) : eval()'d code on line 40
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/journal.php(793) : eval()'d code on line 289
Sigh :ermm:
Thanks AN-net for releasing this mod :) i been following it for a while and I hope it becomes a huge success... well at least you will get my vote for the next hack of the month ;)
rex_b
09-17-2004, 01:16 PM
I still can't see the usergroup phrases in the admincp...
i did the fixphrases.php and it did nothing.
Gio Takahashi
09-17-2004, 01:40 PM
somebody on everythingvb.com made a journal, I've been using this journal. Will this import that journal?
I can't remember his name, and I'd check but the site is closed...
rex_b
09-17-2004, 01:42 PM
somebody on everythingvb.com made a journal, I've been using this journal. Will this import that journal?
I can't remember his name, and I'd check but the site is closed...
you can find it at vbhacks.us
rinkrat
09-17-2004, 02:17 PM
I still can't see the usergroup phrases in the admincp...
i did the fixphrases.php and it did nothing.
Same here, I just changed it to this, hope it doesn't screw anything up.
print_table_header("Journal Permissions");
print_yes_no_row("Can View Journal", 'usergroup[canviewjournal]', $ug_bitfield['canviewjournal']);
print_yes_no_row("Can Have Journal", 'usergroup[canhavejournal]', $ug_bitfield['canhavejournal']);
print_yes_no_row("Can View Comments", 'usergroup[canviewcomments]', $ug_bitfield['canviewcomments']);
print_yes_no_row("Can Comment Journals", 'usergroup[cancommentjournals]', $ug_bitfield['cancommentjournals']);
print_yes_no_row("Can Rate Journals", 'usergroup[canratejournals]', $ug_bitfield['canratejournals']);
print_yes_no_row("Can Report Journals", 'usergroup[canreportentries]', $ug_bitfield['canreportentries']);
print_yes_no_row("Can Edit Own Journal", 'usergroup[caneditownjournal]', $ug_bitfield['caneditownjournal']);
print_yes_no_row("Can Edit Own Journal Entries", 'usergroup[caneditownentries]', $ug_bitfield['caneditownentries']);
print_yes_no_row("Can Delete Own Journal", 'usergroup[candeleteownjournal]', $ug_bitfield['candeleteownjournal']);
print_yes_no_row("Can Delete Own Journal Entries", 'usergroup[candeleteownentries]', $ug_bitfield['candeleteownentries']);
print_yes_no_row("Can Search Journal", 'usergroup[cansearchjournal]', $ug_bitfield['cansearchjournal']);
// print_yes_no_row("Can Edit Others Journal", 'usergroup[caneditothersjournal]', $ug_bitfield['caneditothersjournal']);
// print_yes_no_row("Can Edit Others Entries", 'usergroup[caneditothersentries]', $ug_bitfield['caneditothersentries']);
// print_yes_no_row("Can Delete Others Journal", 'usergroup[candeleteothersjournal]', $ug_bitfield['candeleteothersjournal']);
// print_yes_no_row("Can Delete Otheers Entries", 'usergroup[candeleteothersentries]', $ug_bitfield['candeleteothersentries']);
print_table_break();
Reeve of shinra
09-17-2004, 03:22 PM
Gio - your refering to "the other journal" which a vb3 port of Ryangels vb2 hack.
If no body else does it, ill give it a shot but I wont even be able to look at it until Sunday at the earliest.
Anyone have a DB schema? I havent had a chance to install this yet.
rinkrat
09-17-2004, 03:29 PM
OK when I go to comment on someone's journal "Discuss" I think it is, I get:
Database error in vBulletin 3.0.3:
Invalid SQL: SELECT private,allowbuddies,whocanview,jbuddylist,journal ist_id,status FROM journals AS journals
LEFT JOIN usertextfield AS usertextfieldON (usertextfield.userid=journals.journalist_id)
WHERE journal_id=2
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '(usertextfield.userid=journals.journalist_id)
WHERE journal
mysql error number: 1064
Any idea where to fix this?
I'm getting the same error as rinkrat...
AN-net
09-17-2004, 05:00 PM
This looks like it should be in beta releases instead of full releases. It's going to be a great setup once the bugs are worked out I think.
But this is too much.
That's the longest tag line of any mod there is.
um there arent that many errors no need for this to be a beta release
I received 4 more errors.. and I continued.
Shouldn't have though... because I get this when I try to create a journal..
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/journal.php(753) : eval()'d code on line 40
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/journal.php(793) : eval()'d code on line 289
Sigh :ermm:
i dont see y it is doing that because the templates work fine on mine and we copied directly from sites working templates....
AN-net
09-17-2004, 05:04 PM
OK when I go to comment on someone's journal "Discuss" I think it is, I get:
Database error in vBulletin 3.0.3:
Invalid SQL: SELECT private,allowbuddies,whocanview,jbuddylist,journal ist_id,status FROM journals AS journals
LEFT JOIN usertextfield AS usertextfieldON (usertextfield.userid=journals.journalist_id)
WHERE journal_id=2
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '(usertextfield.userid=journals.journalist_id)
WHERE journal
mysql error number: 1064
Any idea where to fix this?
please download the most recent file of journal.php from the latest fix;)
OK when I go to comment on someone's journal "Discuss" I think it is, I get:
Database error in vBulletin 3.0.3:
Invalid SQL: SELECT private,allowbuddies,whocanview,jbuddylist,journal ist_id,status FROM journals AS journals
LEFT JOIN usertextfield AS usertextfieldON (usertextfield.userid=journals.journalist_id)
WHERE journal_id=2
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '(usertextfield.userid=journals.journalist_id)
WHERE journal
mysql error number: 1064
Any idea where to fix this?
I'm still getting this error
Cold Steel
09-17-2004, 06:15 PM
/me installs.
I'm getting the same error, too.
Comments go through when using the quickreply form, even though you get a SQL error.
nexialys
09-17-2004, 06:16 PM
LEFT JOIN usertextfield AS usertextfieldON << missing space before the ON...
Cold Steel
09-17-2004, 06:37 PM
Thanks. That did the trick.
AN-net
09-17-2004, 06:42 PM
ok i thought i had uploaded the most recent but i didnt>_<
ok well the last journal.php fix i posted is now correct and so is the zip so we shouldn't see that error anymore;)
Cold Steel
09-17-2004, 06:48 PM
On someone's journal page, IMG and URL bbcode isn't parsed in the comments.
http://asiansinc.com/forums/journal.php?do=showjournal&j=1
However, on the show comments page, both are parsed.
http://asiansinc.com/forums/journal.php?do=showcomments&j=1&e=1
Is this intentional?
Great hack, btw.
AN-net
09-17-2004, 06:51 PM
I received 4 more errors.. and I continued.
Shouldn't have though... because I get this when I try to create a journal..
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/journal.php(753) : eval()'d code on line 40
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/journal.php(793) : eval()'d code on line 289
Sigh :ermm:
try updating journal_entrybits with the following:
<a name="e$entry[entry_id]"><table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="thead" align="$stylevar[left]"><div style="float:right"><a href="#e$entry[entry_id]"># $enum</a></div><a href="journal.php?do=showentry&e=$entry[entry_id]">$entry[entrytitle]</a></td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div class="smallfont">Date Posted: $entry[date] at <span class="time">$entry[time]</span> <if condition="$canview[comments]"><a href="journal.php?do=showcomments&j=$j&e=$entry[entry_id]"></if>Comments ($entry[comments])<if condition="$canview[comments]"></a></if></div></td>
</tr>
<tr>
<td class="alt2" align="$stylevar[left]"><if condition="$show[mood] OR $entry[mood] > 0"><div class="smallfont">Mood: <img src="$entry[mood_image]" alt="$entry[mood_name]" /></div><hr /></if>$entry[entrytext]</td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div style="float:left"><!-- <a href="journal.php?do=report&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/report.gif" alt="Report This Journal Entry to an Administrator" border="0" /></a> --><if condition="$bbuserinfo[usergroupid]==6"><img src="$stylevar[imgdir_button]/ip.gif" border="0" title="Ip: $entry[ipaddress]" /></if><if condition="$can[comment] AND $canview[comments]"><a href="journal.php?do=showcomments&j=$j&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/discuss.gif" border="0" alt="Discuss This Entry" /></a></if></div><if condition="$caneditown[entry] AND $bbuserinfo[userid]==$journalinfo[journalist_id] OR $bbuserinfo[usergroupid]==6"><a href="journal.php?do=editentry&j=$j&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/edit.gif" border="0" /></a></if><if condition="$candeleteown[entry] AND $bbuserinfo[userid]==$journalinfo[journalist_id] OR $bbuserinfo[usergroupid]==6"><a href="journal.php?do=delete&j=$j&e=$entry[entry_id]&t=e"><img src="$stylevar[imgdir_button]/delete.gif" border="0" /></a></if></td>
</tr>
</table></a>
<br />
AN-net
09-17-2004, 06:57 PM
On someone's journal page, IMG and URL bbcode isn't parsed in the comments.
http://asiansinc.com/forums/journal.php?do=showjournal&j=1
However, on the show comments page, both are parsed.
http://asiansinc.com/forums/journal.php?do=showcomments&j=1&e=1
Is this intentional?
Great hack, btw.
ok url will only work if [url] is put around it(ill try to figure this out) and bbcodes work for me, even my custom bbcodes
also i cant view your journals since guests aren't given permissions
edit: img code also works for me
Red Blaze
09-17-2004, 07:00 PM
I shall try this at home. :) Thanks a lot. *subscribes*
EDIT: Question, due to the lack of time I have right now, I can't afford to search, but I already have a journal system. Can the entries and comments be used or will they have to be deleted?
AN-net
09-17-2004, 07:08 PM
I shall try this at home. :) Thanks a lot. *subscribes*
EDIT: Question, due to the lack of time I have right now, I can't afford to search, but I already have a journal system. Can the entries and comments be used or will they have to be deleted?
if your using the vb3 port of ryangle's journal hack i would suggest not to install this yet as a import script will eventually be released to import those journals and entries into my journal system
I shall try this at home. :) Thanks a lot. *subscribes*
EDIT: Question, due to the lack of time I have right now, I can't afford to search, but I already have a journal system. Can the entries and comments be used or will they have to be deleted?
No, the install script of this hack includes the dreaded 'Drop table if exists' commands...without telling you, it deletes all of your existing Journal tables that have the same name as the ones you already have there.
Now that was a bit of a dissapointment.
AN-net
09-17-2004, 07:16 PM
No, the install script of this hack includes the dreaded 'Drop table if exists' commands...without telling you, it deletes all of your existing Journal tables that have the same name as the ones you already have there.
Now that was a bit of a dissapointment.
i had mentioned in the original post not to install this hack yet if your using the vb3 port of ryangle's journal system;)
i had mentioned in the original post not to install this hack yet if your using the vb3 port of ryangle's journal system;)
Well yes, and bad things happen because I am stupid. :)
Reeve of shinra
09-17-2004, 08:02 PM
Thanks for the heads up Kall.
Going to click "install" 'cos the installation was clean .. no sql errors and all the journal user options appear to work Ok.
Only problem I had was when setting permissions for usergroups I only had 3 options showing ?
See attached
Update on above .. Clicked on "Edit journal buddies" and had this error
Parse error: parse error, unexpected T_STRING in /usr/home/thetechg/public_html/cafe/includes/functions_user.php on line 507
May be a file edit I need to check .. I'll get back to ya :)
venomx
09-17-2004, 09:11 PM
I am waiting until the WOL is added and the user count is fixed. Everytime i view the demo listed in the first post is says noone is viewing the page...
cscgal
09-17-2004, 09:21 PM
Going to click "install" 'cos the installation was clean .. no sql errors and all the journal user options appear to work Ok.
Only problem I had was when setting permissions for usergroups I only had 3 options showing ?
See attached
I had the same exact problem.
Another odd thing: The third option in usergroup.php, when I click Yes, it just jumps the page up about half way, and stays on NO.
What's causing that?
AN-net
09-17-2004, 09:34 PM
Another odd thing: The third option in usergroup.php, when I click Yes, it just jumps the page up about half way, and stays on NO.
What's causing that?
this does not occur for me
nhatrang
09-17-2004, 09:36 PM
Double check your configuration when you install this hack.
rex_b
09-17-2004, 10:00 PM
I have my install now fully working properly. Mad props to AN-net. and I hope everyone else has ease getting this working!
rinkrat
09-17-2004, 10:23 PM
This is a great hack and my users have already latched onto it and are spilling their guts like they are with a shrink. I have the same problem with the WOL going haywire and reporting 3 users when there are 150 etc. Suddenly it will jump and become correct. Weird.
Love this, really!!
Romeos Tune
09-17-2004, 10:24 PM
I'm getting this error....... Anyone?? So I can't give anyone permissions to do anything.......
Database error in vBulletin 3.0.3:
Invalid SQL: UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrators',
description = '',
usertitle = 'Administrator',
opentag = '',
closetag = '',
passwordexpires = '180',
passwordhistory = '360',
attachlimit = '0',
avatarmaxwidth = '90',
avatarmaxheight = '90',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
canviewjournal = '1',
canhavejournal = '1',
canviewcomments = '1',
cancommentjournals = '1',
canratejournals = '1',
canreportentries = '1',
caneditownjournal = '1',
caneditownentries = '1',
candeleteownjournal = '1',
candeleteownentries = '1',
cansearchjournal = '1',
forumpermissions = '393215',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '4194239',
genericoptions = '31'
WHERE usergroupid=6
mysql error: Unknown column 'canviewjournal' in 'field list'
mysql error number: 1054
Date: Friday 17th of September 2004 06:29:13 PM
Script: admincp/usergroup.php
Username: Poetic Storm
IP Address:
AN-net
09-17-2004, 10:27 PM
I'm getting this error....... Anyone?? So I can't give anyone permissions to do anything.......
Database error in vBulletin 3.0.3:
Invalid SQL: UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrators',
description = '',
usertitle = 'Administrator',
opentag = '',
closetag = '',
passwordexpires = '180',
passwordhistory = '360',
attachlimit = '0',
avatarmaxwidth = '90',
avatarmaxheight = '90',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
canviewjournal = '1',
canhavejournal = '1',
canviewcomments = '1',
cancommentjournals = '1',
canratejournals = '1',
canreportentries = '1',
caneditownjournal = '1',
caneditownentries = '1',
candeleteownjournal = '1',
candeleteownentries = '1',
cansearchjournal = '1',
forumpermissions = '393215',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '4194239',
genericoptions = '31'
WHERE usergroupid=6
mysql error: Unknown column 'canviewjournal' in 'field list'
mysql error number: 1054
Date: Friday 17th of September 2004 06:29:13 PM
Script: admincp/usergroup.php
Username: Poetic Storm
IP Address:
it seems that you didnt run the install file correctly
Romeos Tune
09-17-2004, 10:32 PM
Hiya.... I did the option of "Full Install". It didn't give me any errors at all and seemed fine. I guess I can try running it again and see what happens.....
Romeos Tune
09-17-2004, 10:37 PM
Ok.... I've since, uninstalled all tables created and tried to reinstall and still with the same error??
AN-net
09-17-2004, 11:09 PM
i would suggest u redo the file edits then;)
Romeos Tune
09-17-2004, 11:12 PM
*sigh* I tried that first thing.... Could it be anything besides the usergroup.php file? That's the one that's giving me the error... I manually gave everyone permission to use the journal and it's working but I still can't use the usergroup manager now for that error unless I upload the original. Nothing to editing that file at all.... Very simple but yet something in there is causing a problem...
this does not occur for me
Ahh, worked it out.
The 'canviewcomments' permission has already been taken by the Articles hack.
* kall changes it to 'canviewjournalcomments'
Milktruck
09-17-2004, 11:28 PM
try updating journal_entrybits with the following:
<a name="e$entry[entry_id]"><table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="thead" align="$stylevar[left]"><div style="float:right"><a href="#e$entry[entry_id]"># $enum</a></div><a href="journal.php?do=showentry&e=$entry[entry_id]">$entry[entrytitle]</a></td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div class="smallfont">Date Posted: $entry[date] at <span class="time">$entry[time]</span> <if condition="$canview[comments]"><a href="journal.php?do=showcomments&j=$j&e=$entry[entry_id]"></if>Comments ($entry[comments])<if condition="$canview[comments]"></a></if></div></td>
</tr>
<tr>
<td class="alt2" align="$stylevar[left]"><if condition="$show[mood] OR $entry[mood] > 0"><div class="smallfont">Mood: <img src="$entry[mood_image]" alt="$entry[mood_name]" /></div><hr /></if>$entry[entrytext]</td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div style="float:left"><!-- <a href="journal.php?do=report&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/report.gif" alt="Report This Journal Entry to an Administrator" border="0" /></a> --><if condition="$bbuserinfo[usergroupid]==6"><img src="$stylevar[imgdir_button]/ip.gif" border="0" title="Ip: $entry[ipaddress]" /></if><if condition="$can[comment] AND $canview[comments]"><a href="journal.php?do=showcomments&j=$j&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/discuss.gif" border="0" alt="Discuss This Entry" /></a></if></div><if condition="$caneditown[entry] AND $bbuserinfo[userid]==$journalinfo[journalist_id] OR $bbuserinfo[usergroupid]==6"><a href="journal.php?do=editentry&j=$j&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/edit.gif" border="0" /></a></if><if condition="$candeleteown[entry] AND $bbuserinfo[userid]==$journalinfo[journalist_id] OR $bbuserinfo[usergroupid]==6"><a href="journal.php?do=delete&j=$j&e=$entry[entry_id]&t=e"><img src="$stylevar[imgdir_button]/delete.gif" border="0" /></a></if></td>
</tr>
</table></a>
<br />
I have did that.
Now instead of 2 errors when creating a journal, I receive 1 error :):
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/journal.php(793) : eval()'d code on line 289
The journal shows up on the journal page, but when I click to view it, I get that same error again:
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/journal.php(793) : eval()'d code on line 289
-- 10 minutes later:
I have downloaded the latest zip file, uninstalled the journal system and reinstalled.
I went to create a journal, and received the same error above again.
I should mention again --
When I inserted the templates initially, I received this type of error for 4 of the templates:
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/includes/adminfunctions_template.php(3037) : eval()'d code on line 40
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Yes.. I continued... :(
The lines effected were 4, 40, 51, and 289.
When I viewed the adminfunctions_template.php .. there did not seem to be anything wrong on those lines. That is why I continued, I didn't understand.
AN-net
09-18-2004, 12:01 AM
what 4 templates do you receive the error on?
Pitman
09-18-2004, 01:21 AM
This is a great hack and my users have already latched onto it and are spilling their guts like they are with a shrink. I have the same problem with the WOL going haywire and reporting 3 users when there are 150 etc. Suddenly it will jump and become correct. Weird.
Love this, really!!
The "Users Viewing" on the Journal Index is a list of users only viewing the Journal Index page at that time. It would be nice to list all users within the Journal system though. :)
Rambo
09-18-2004, 01:35 AM
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in c:\ibserver\www\forum\includes\functions.php on line 1887
Fatal error: Call to undefined function: is_browser() in c:\ibserver\www\forum\global.php on line 59
i get this error aiee >__<
Romeos Tune
09-18-2004, 04:05 AM
I'm still getting this error after re-hacking all my files 2 times......
Invalid SQL: UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrators',
description = '',
usertitle = 'Administrator',
opentag = '',
closetag = '',
passwordexpires = '180',
passwordhistory = '360',
attachlimit = '0',
avatarmaxwidth = '90',
avatarmaxheight = '90',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
canviewjournal = '0',
canhavejournal = '0',
canviewcomments = '0',
cancommentjournals = '0',
canratejournals = '0',
canreportentries = '0',
caneditownjournal = '0',
caneditownentries = '0',
candeleteownjournal = '0',
candeleteownentries = '0',
cansearchjournal = '0',
forumpermissions = '393215',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '4194239',
genericoptions = '31'
WHERE usergroupid=6
mysql error: Unknown column 'canviewjournal' in 'field list'
mysql error number: 1054
Date: Saturday 18th of September 2004 12:04:15 AM
Script: admincp/usergroup.php
Referer: admincp/usergroup.php?s=&do=edit&usergroupid=6
Can anyone give me a clue... I mean, it seems as if it's looking for a table that doesn't exist.... ??
AN-net
09-18-2004, 04:17 AM
I'm still getting this error after re-hacking all my files 2 times......
Invalid SQL: UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrators',
description = '',
usertitle = 'Administrator',
opentag = '',
closetag = '',
passwordexpires = '180',
passwordhistory = '360',
attachlimit = '0',
avatarmaxwidth = '90',
avatarmaxheight = '90',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
canviewjournal = '0',
canhavejournal = '0',
canviewcomments = '0',
cancommentjournals = '0',
canratejournals = '0',
canreportentries = '0',
caneditownjournal = '0',
caneditownentries = '0',
candeleteownjournal = '0',
candeleteownentries = '0',
cansearchjournal = '0',
forumpermissions = '393215',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '4194239',
genericoptions = '31'
WHERE usergroupid=6
mysql error: Unknown column 'canviewjournal' in 'field list'
mysql error number: 1054
Date: Saturday 18th of September 2004 12:04:15 AM
Script: admincp/usergroup.php
Referer: admincp/usergroup.php?s=&do=edit&usergroupid=6
Can anyone give me a clue... I mean, it seems as if it's looking for a table that doesn't exist.... ??
did u do all the edits for files not just the usergroup.php one?
Romeos Tune
09-18-2004, 04:28 AM
Yes I did..... A couple more times....... If I put the original usergroup.php file back then I can edit usergroups but with that in there I get the error....
Umm, did you run the installer?
That's what inserts the tables to the database, not the file edits.
Romeos Tune
09-18-2004, 04:47 AM
I sure did..... I'm not sure why it happened but I played around and manually inserted the table and it's working now. I checked the install file and it seems as if it should have created that table but didn't for some reason and I deleted everything and started over probably 5 times.... Oh well... Looks like it's ok..... now.... Thanks!!!!! :) Gonna make sure all is working........
Update on above .. Clicked on "Edit journal buddies" and had this error
Parse error: parse error, unexpected T_STRING in /usr/home/thetechg/public_html/cafe/includes/functions_user.php on line 507
May be a file edit I need to check .. I'll get back to ya :)
Error was created by error on my part in admin/index.php.
Installed again with no sql errors.
Couple of problems :-
Usergroups>Usergroup manager>Edit usergroups still only shows 3 options .. all the other options have check boxes with no description.
If anyone has a full list of the options, could they post them so that we can be aware of what we are checking for usergroup permissions.
Users avatars not showing .. where do I find the path to show avatars or is there an option to not show members avatars when creating a journal ?
Great hack BTW ..
Rambo
09-18-2004, 10:36 AM
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in c:\ibserver\www\forum\includes\functions.php on line 1887
Fatal error: Call to undefined function: is_browser() in c:\ibserver\www\forum\global.php on line 59
i get this error aiee >__<
hmm...can any1 help with that pwz?!? :P
Cold Steel
09-18-2004, 10:36 AM
Same here, I just changed it to this, hope it doesn't screw anything up.
print_table_header("Journal Permissions");
print_yes_no_row("Can View Journal", 'usergroup[canviewjournal]', $ug_bitfield['canviewjournal']);
print_yes_no_row("Can Have Journal", 'usergroup[canhavejournal]', $ug_bitfield['canhavejournal']);
print_yes_no_row("Can View Comments", 'usergroup[canviewcomments]', $ug_bitfield['canviewcomments']);
print_yes_no_row("Can Comment Journals", 'usergroup[cancommentjournals]', $ug_bitfield['cancommentjournals']);
print_yes_no_row("Can Rate Journals", 'usergroup[canratejournals]', $ug_bitfield['canratejournals']);
print_yes_no_row("Can Report Journals", 'usergroup[canreportentries]', $ug_bitfield['canreportentries']);
print_yes_no_row("Can Edit Own Journal", 'usergroup[caneditownjournal]', $ug_bitfield['caneditownjournal']);
print_yes_no_row("Can Edit Own Journal Entries", 'usergroup[caneditownentries]', $ug_bitfield['caneditownentries']);
print_yes_no_row("Can Delete Own Journal", 'usergroup[candeleteownjournal]', $ug_bitfield['candeleteownjournal']);
print_yes_no_row("Can Delete Own Journal Entries", 'usergroup[candeleteownentries]', $ug_bitfield['candeleteownentries']);
print_yes_no_row("Can Search Journal", 'usergroup[cansearchjournal]', $ug_bitfield['cansearchjournal']);
// print_yes_no_row("Can Edit Others Journal", 'usergroup[caneditothersjournal]', $ug_bitfield['caneditothersjournal']);
// print_yes_no_row("Can Edit Others Entries", 'usergroup[caneditothersentries]', $ug_bitfield['caneditothersentries']);
// print_yes_no_row("Can Delete Others Journal", 'usergroup[candeleteothersjournal]', $ug_bitfield['candeleteothersjournal']);
// print_yes_no_row("Can Delete Otheers Entries", 'usergroup[candeleteothersentries]', $ug_bitfield['candeleteothersentries']);
print_table_break();
This is for those with problems in the admincp usergroup.php.
Mitsuaki
09-18-2004, 11:41 AM
Well id hate to be the odd one out.... But everything works fine for me and i am very impressed with the hack... good work!!
AN-net
09-18-2004, 01:43 PM
I sure did..... I'm not sure why it happened but I played around and manually inserted the table and it's working now. I checked the install file and it seems as if it should have created that table but didn't for some reason and I deleted everything and started over probably 5 times.... Oh well... Looks like it's ok..... now.... Thanks!!!!! :) Gonna make sure all is working........
well..., see it shouldnt be thinking canviewjournal as a column because it should be building all under journal permissions
AN-net
09-18-2004, 01:51 PM
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in c:\ibserver\www\forum\includes\functions.php on line 1887
Fatal error: Call to undefined function: is_browser() in c:\ibserver\www\forum\global.php on line 59
i get this error aiee >__<
the first error has to do with debug and the second one has to deal with is_browser in global.php which is not even edited in hack
do you have debug on?
AN-net
09-18-2004, 02:02 PM
an update even with the phrases moved to the permissions group they still show up for me, anyone experiencing them not showing up please go see if their in the phrasegroup "permissions" via phrasemanager
Bolas
09-18-2004, 02:10 PM
Just 2 question:
will visitors (registered or not) of a Journal choose the ASC/DESC order of the posts by date?
will owners of a journal choose a style (and lock it) for their pages?
Ah, er.. so.. this is a good work! :D Gratz
Silverdawn222
09-18-2004, 02:25 PM
Hi,
Works excellently. However, I have a problem. We also run the Articles Hack on our forum. This popular hack uses plugin usergroup permission bitfields like yours (in includes/init.php). There seems to be a conflict because I can't properly set the permissions without it jumping between article permissions and journal permissions. And I'm afraid deleting the articles feature is really not an option because that's what our site is all about. I'm talking about this piece of code (the first part is your custom fields, the second is the Article Hack's):
// field names for journal permissions
$_BITFIELD['usergroup']['journalpermissions'] = array(
'canviewjournal' => 1,
'canhavejournal' => 2,
'canviewcomments' => 4,
'cancommentjournals' => 8,
'canratejournals' => 16,
'canreportentries' => 32,
'caneditownjournal' => 64,
'caneditownentries' => 128,
'candeleteownjournal' => 256,
'candeleteownentries' => 512,
'cansearchjournal' => 1024 //,
// 'caneditothersjournal' => 2048,
// 'caneditothersentries' => 4096,
// 'candeleteothersjournal' => 8192,
// 'candeleteothersentries' => 16384
);
// ### INSERT PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE ###
// ----------------------------------------------------------
$_BITFIELD['usergroup']['articlepermissions'] = array(
'canviewarticles' => 1,
'canviewcomments' => 2,
'canpostarticles' => 4,
'cancomment' => 8,
'canedownart' => 16,
'canedothart' => 32,
'candelownart' => 64,
'candelothart' => 128,
'canfeature' => 256,
'cansearchart' => 512,
'canratearticles' => 1024,
'canviewartmedia' => 2048
);
// ----------------------------------------------------------
// ### END PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE ###
intrigue
09-18-2004, 02:25 PM
well done anNet i have followed the threead for quite some time in anticipation for this and finally you bring it to us.
Thanks
.matt
:D
nineball
09-18-2004, 02:33 PM
I have the hack working it is a great. Got a question about being able to delete your own and other journals for admins.
// print_yes_no_row("Can Edit Others Journal", 'usergroup[caneditothersjournal]', $ug_bitfield['caneditothersjournal']);
// print_yes_no_row("Can Edit Others Entries", 'usergroup[caneditothersentries]', $ug_bitfield['caneditothersentries']);
// print_yes_no_row("Can Delete Others Journal", 'usergroup[candeleteothersjournal]', $ug_bitfield['candeleteothersjournal']);
// print_yes_no_row("Can Delete Otheers Entries", 'usergroup[candeleteothersentries
The options are commented out in the usergroup and the dataitems do not seem to be added to the database. Is this something that will be enabled in a future release. I tried uncommenting them but got a DB error.
Thanks. Great Job
AN-net
09-18-2004, 02:36 PM
I have the hack working it is a great. Got a question about being able to delete your own and other journals for admins.
// print_yes_no_row("Can Edit Others Journal", 'usergroup[caneditothersjournal]', $ug_bitfield['caneditothersjournal']);
// print_yes_no_row("Can Edit Others Entries", 'usergroup[caneditothersentries]', $ug_bitfield['caneditothersentries']);
// print_yes_no_row("Can Delete Others Journal", 'usergroup[candeleteothersjournal]', $ug_bitfield['candeleteothersjournal']);
// print_yes_no_row("Can Delete Otheers Entries", 'usergroup[candeleteothersentries
The options are commented out in the usergroup and the dataitems do not seem to be added to the database. Is this something that will be enabled in a future release. I tried uncommenting them but got a DB error.
Thanks. Great Job
yes those will be used in a future release, admins have those powers anyway
rex_b
09-18-2004, 02:41 PM
Silver Dawn,
I also have the articles hack, but I'm having no problems with articles/journal installed..
AN-net
09-18-2004, 02:42 PM
Hi,
Works excellently. However, I have a problem. We also run the Articles Hack on our forum. This popular hack uses plugin usergroup permission bitfields like yours (in includes/init.php). There seems to be a conflict because I can't properly set the permissions without it jumping between article permissions and journal permissions. And I'm afraid deleting the articles feature is really not an option because that's what our site is all about. I'm talking about this piece of code (the first part is your custom fields, the second is the Article Hack's):
// field names for journal permissions
$_BITFIELD['usergroup']['journalpermissions'] = array(
'canviewjournal' => 1,
'canhavejournal' => 2,
'canviewcomments' => 4,
'cancommentjournals' => 8,
'canratejournals' => 16,
'canreportentries' => 32,
'caneditownjournal' => 64,
'caneditownentries' => 128,
'candeleteownjournal' => 256,
'candeleteownentries' => 512,
'cansearchjournal' => 1024 //,
// 'caneditothersjournal' => 2048,
// 'caneditothersentries' => 4096,
// 'candeleteothersjournal' => 8192,
// 'candeleteothersentries' => 16384
);
// ### INSERT PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE ###
// ----------------------------------------------------------
$_BITFIELD['usergroup']['articlepermissions'] = array(
'canviewarticles' => 1,
'canviewcomments' => 2,
'canpostarticles' => 4,
'cancomment' => 8,
'canedownart' => 16,
'canedothart' => 32,
'candelownart' => 64,
'candelothart' => 128,
'canfeature' => 256,
'cansearchart' => 512,
'canratearticles' => 1024,
'canviewartmedia' => 2048
);
// ----------------------------------------------------------
// ### END PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE ###
ok change the journals permissions to the following:
// field names for journal permissions
$_BITFIELD['usergroup']['journalpermissions'] = array(
'canviewjournal' => 1,
'canhavejournal' => 2,
'canviewjournalcomments' => 4,
'cancommentjournals' => 8,
'canratejournals' => 16,
'canreportentries' => 32,
'caneditownjournal' => 64,
'caneditownentries' => 128,
'candeleteownjournal' => 256,
'candeleteownentries' => 512,
'cansearchjournal' => 1024 //,
// 'caneditothersjournal' => 2048,
// 'caneditothersentries' => 4096,
// 'candeleteothersjournal' => 8192,
// 'candeleteothersentries' => 16384
);
and in journal.php
change find:
if($permissions['journalpermissions'] & CANVIEWCOMMENTS)
{
$canview['comments']= true;
}
else
{
$canview['comments']= false;
}
replace that with:
if($permissions['journalpermissions'] & CANVIEWJOURNALCOMMENTS)
{
$canview['comments']= true;
}
else
{
$canview['comments']= false;
}
in usergroup.php find:
print_yes_no_row("Can View Comments", 'usergroup[canviewcomments]', $ug_bitfield['canviewcomments']);
replace that with:
print_yes_no_row("Can View Comments", 'usergroup[canviewjournalcomments]', $ug_bitfield['canviewjournalcomments']);
that should fix the conflict:)
Rambo
09-18-2004, 02:56 PM
the first error has to do with debug and the second one has to deal with is_browser in global.php which is not even edited in hack
do you have debug on?
hmm..
Nope dont think i have debug on, i thought id leave the functions.php as it is without editing and the mod seems to work well now o.O
Silverdawn222
09-18-2004, 03:13 PM
Thanks AN-Net, it worked great! I still have a slightly annoying problem - see the screenshot below.
Thanks AN-Net, it worked great! I still have a slightly annoying problem - see the screenshot below.
There is a fix for this problem .. in this thread (https://vborg.vbsupport.ru/showthread.php?t=69538&page=4&pp=15)
AN-net
09-18-2004, 03:34 PM
hmm..
Nope dont think i have debug on, i thought id leave the functions.php as it is without editing and the mod seems to work well now o.O
if you dont edit functions.php the who is viewing will not work;)
AN-net
09-18-2004, 03:40 PM
Just 2 question:
will visitors (registered or not) of a Journal choose the ASC/DESC order of the posts by date?
will owners of a journal choose a style (and lock it) for their pages?
Ah, er.. so.. this is a good work! :D Gratz
yes they can choose the order for the journals on the index but inside a journal they can not since a journal goes from the first page to the last
colors and setup are not available in this version but in future versions yes, locking can only be done by administrators currently;)
AN-net
09-18-2004, 04:13 PM
For complete compatiably upload the following updated journal.php file
this update will make it so that if a link/url is put in without a url bbocode tags that it will be parsed anyways:)
spence2
09-18-2004, 04:48 PM
AN-net!
Your support is superlative. Thank you, thank you, thank you!
AN-net
09-18-2004, 05:18 PM
In the file edits for functions.php instead of replacing :
$shutdownqueries['sessionupdate'] = str_replace('###REPLACE###', ',inforum = ' . intval($foruminfo['forumid']) . ', inthread = ' . intval($threadinfo['threadid']) . ', incalendar = ' . intval($calendarinfo['calendarid']) . ', badlocation = ' . intval($bbuserinfo['badlocation']), $shutdownqueries['sessionupdate']);
with:
$shutdownqueries['sessionupdate'] = str_replace('###REPLACE###', ',inforum = ' . intval($foruminfo['forumid']) . ', ,injournal = ' . intval($journalinfo['journal_id']) . ', inthread = ' . intval($threadinfo['threadid']) . ', incalendar = ' . intval($calendarinfo['calendarid']) . ', badlocation = ' . intval($bbuserinfo['badlocation']), $shutdownqueries['sessionupdate']);
replace it with this:
$shutdownqueries['sessionupdate'] = str_replace('###REPLACE###', ',inforum = ' . intval($foruminfo['forumid']) . ', injournal = ' . intval($journalinfo['journal_id']) . ', inthread = ' . intval($threadinfo['threadid']) . ', incalendar = ' . intval($calendarinfo['calendarid']) . ', badlocation = ' . intval($bbuserinfo['badlocation']), $shutdownqueries['sessionupdate']);
this may solve your problem rambo;)
i will update the zip shortly
Great support .. https://vborg.vbsupport.ru/external/2005/01/2.gif
Rambo
09-18-2004, 09:34 PM
Worked a charm,
Thanks AN-net!
starfantazy
09-19-2004, 01:25 AM
great! ive been waiting.... *goes to install* ;)
theArchitect
09-19-2004, 02:14 AM
Massive Hack. Run through all of the instructions twice :squareeyed:, but must have missed something as I am getting this error message:
you do not have permission to access this page. This could be due to one of several reasons:...
Any thoughts as to what I have missed.
BitterLittleMan
09-19-2004, 02:27 AM
I get this error when I click "Moderate Journal Entries" in the ACP. Other than this error, the journal works perfectly.
Database error in vBulletin 3.0.3:
Invalid SQL: SELECT journal_entries.entrytitle,journal_entries.journal _id,journals.journalname,
journals.journalist,journals.journalist_id,journal _entries.entrytext,journal_entries.entry_id
FROM vb3_journal_entries
LEFT JOIN vb3_journals ON (journal_entries.journal_id=journals.journal_id)
WHERE journal_entries.entry_active!=1
mysql error: Unknown table 'journal_entries' in field list
mysql error number: 1109
Date: Saturday 18th of September 2004 11:18:15 PM
Script: http://www.mysite.com/forum/admincp/journaladmin.php?do=moderateentries
In addition, I justed wanted to thank you for this modification. Its beautiful! :D
Romeos Tune
09-19-2004, 03:02 AM
Did you edit your usergroup permissions?? :D
Massive Hack. Run through all of the instructions twice :squareeyed:, but must have missed something as I am getting this error message:
you do not have permission to access this page. This could be due to one of several reasons:...
Any thoughts as to what I have missed.
theArchitect
09-19-2004, 03:10 AM
Did you edit your usergroup permissions?? :D
*Feeling Very Stupid Now* :o
But I still think I have missed something. The vBJournal permission seem to be miss formed. See attached screen shot.
AN-net
09-19-2004, 03:22 AM
I get this error when I click "Moderate Journal Entries" in the ACP. Other than this error, the journal works perfectly.
In addition, I justed wanted to thank you for this modification. Its beautiful! :D
you and everyone is urged to update this!
i will update zip soon:)
upload and overwrite journaladmin.php
AN-net
09-19-2004, 03:26 AM
*Feeling Very Stupid Now* :o
But I still think I have missed something. The vBJournal permission seem to be miss formed. See attached screen shot.
there is a fix for this already please review the first post for updates/fixes;)
theArchitect
09-19-2004, 03:35 AM
there is a fix for this already please review the first post for updates/fixes;)
Thankyou. Your support is first class. And you Journal excellent. Many thanks.
*Clicks Install*
BitterLittleMan
09-19-2004, 03:37 AM
Thank you very much. That fixed it! Clicked install.
yinyang
09-19-2004, 04:46 AM
*clicks install*
first off, an-net, thank you for a great hack. second, would you believe that after i installed this and fixed a couple errors, my webhost decided to move servers and i lost everything!!! !#@$@#$%@#.
anyhow, i look forward to reinstalling. however, creating those 13 or so templates is something i'm not looking forward to. is there anyway when you update you can do an auto template installer?
please..... *looks for cherry*.
-yinyang
AN-net
09-19-2004, 04:58 AM
i will be looking into a template installer;)
theArchitect
09-19-2004, 12:49 PM
I think I spoke too soon.
When I create a new Journal entry I now get this error message.
Parse error: parse error, unexpected ';' in \forum\journal.php(753) : eval()'d code on line 33
The Journal entry is created OK, but I have this error message at the top of the screen.
Also the Journal navigation buttons are malformed. See attached screen shot.
AN-net
09-19-2004, 02:13 PM
that is fetch_template and it seems to formed correctly unless im going crazy
753:
748: else if(in_array($bbuserinfo['userid'], $jbuddies))
749: {
750: eval('$entrybits .= "' . fetch_template('journal_entrybits') . '";');
751: }
752: }
753: else
754: {
755: eval('$entrybits .= "' . fetch_template('journal_entrybits') . '";');
756: }
they template fetches look correct to me....
theArchitect
09-19-2004, 02:27 PM
that is fetch_template and it seems to formed correctly unless im going crazy
Ah. Reminds me. I got two errors when creating the templates. vB said that the templates were mal formed. I had the option to go back, but I choose to continue and fix them later. But I was teaching this afternoon and forgot all about it.
I will go back through the template creation process, in the morning, and let you know which ones the system didn't like.
AN-net
09-19-2004, 02:33 PM
Ah. Reminds me. I got two errors when creating the templates. vB said that the templates were mal formed. I had the option to go back, but I choose to continue and fix them later. But I was teaching this afternoon and forgot all about it.
I will go back through the template creation process, in the morning, and let you know which ones the system didn't like.
thank you cause i need to know the template's name to fix em;)
Bolas
09-19-2004, 02:49 PM
I found the problem of TheArchitect (bad DHTML menu), but I'm studing it.
It's the browser version.
Error with
Mozilla-Firefox 0.8
No problem with:
Mozilla-Firefox 0.9
Mozilla-Firefox 1.0 pr
Internet Explorer
Konqueror
May the problem be in the Gecko engine older than Gecko/20040707 version (excluded)?
Amiga-uk
09-19-2004, 05:07 PM
You say that the order HAS to be oldest -> Newest?
Is there any way to make the Newest posts of the journal appear at the top, like in normal topics?
Installed anyway, and it's a great hack. Thanks a lot. ;D
Vivi Ornitier
09-19-2004, 05:26 PM
its workin fine on mine, perfect install on 3.0.0
http://forums.squareultima.com/journal.php
thx for the stuff ;)
rinkrat
09-19-2004, 06:13 PM
You say that the order HAS to be oldest -> Newest?
Is there any way to make the Newest posts of the journal appear at the top, like in normal topics?
Installed anyway, and it's a great hack. Thanks a lot. ;D
Yeah wading through a person's history to get to the new one will be a pain after awhile.
Reeve of shinra
09-19-2004, 06:48 PM
I think it should be simple to re-order the query results to display entries from newest to oldest.
I am trying to work on a importer from the old journal but I am having trouble with syntax needed to move the date. If anyone is good at this and wants to look it over, you can do so here
https://vborg.vbsupport.ru/showthread.php?p=554089#post554089
Bolas
09-19-2004, 09:06 PM
to reorder (no choose by user)?
Just change ASC to DESC in the longest query in journal.php file...
in journal.php find
GROUP BY journal_entries.entry_id
ORDER BY entrydate ASC
LIMIT $start,$perpage
replace it with
GROUP BY journal_entries.entry_id
ORDER BY entrydate DESC
LIMIT $start,$perpage
AN-net
09-19-2004, 10:50 PM
I found the problem of TheArchitect (bad DHTML menu), but I'm studing it.
It's the browser version.
Error with
Mozilla-Firefox 0.8
No problem with:
Mozilla-Firefox 0.9
Mozilla-Firefox 1.0 pr
Internet Explorer
Konqueror
May the problem be in the Gecko engine older than Gecko/20040707 version (excluded)?
to my knowledge i followed the vb's setup for dropdown menus....
theArchitect
09-19-2004, 11:37 PM
Here are the template errors:
journal_entrybits - Parse error: parse error, unexpected ';' in \forum\includes\adminfunctions_template.php(3056) : eval()'d code on line 32
journal_journalbits - Parse error: parse error, unexpected ';' in \forum\includes\adminfunctions_template.php(3056) : eval()'d code on line 24
journal_showentrypage - Parse error: parse error, unexpected ';' in \forum\includes\adminfunctions_template.php(3056) : eval()'d code on line 47
Thankyou for your support.
AN-net
09-20-2004, 12:07 AM
i will look into this:)
???`S?LV?R???`
09-20-2004, 12:48 AM
Hu AN-net... you will have an update in no long... i'm looking at the install script and see you have no real install process... i'll create a single file for everything to ADD/CREATE in the db...
will be up in about 10...
Did you create it? and if so... care to share? :)
Bolas
09-20-2004, 12:50 AM
to my knowledge i followed the vb's setup for dropdown menus....
I know, but this happens only ( I hope ) with mozilla 0.8.
Mumble... try checking if the nesting of the <div> and the <table> is similar to the vbulletin original one.
Maybe a parent DIV/TD has some style properties...
AN-net
09-20-2004, 02:51 AM
Here are the template errors:
journal_entrybits - Parse error: parse error, unexpected ';' in \forum\includes\adminfunctions_template.php(3056) : eval()'d code on line 32
journal_journalbits - Parse error: parse error, unexpected ';' in \forum\includes\adminfunctions_template.php(3056) : eval()'d code on line 24
journal_showentrypage - Parse error: parse error, unexpected ';' in \forum\includes\adminfunctions_template.php(3056) : eval()'d code on line 47
Thankyou for your support.
try replacing journal_journalbits with this
<tr>
<td class="$bgclass"><if condition="$shownewentryicon[$journalid]"><img src="$stylevar[imgdir_statusicon]/journal_new.gif" border="0" alt="This Journal contains new entries." /><else /><if condition="$journal[status]==1"><img src="$stylevar[imgdir_statusicon]/journal_lock.gif" border="0" alt="This Journal is Locked!" /><else /><img src="$stylevar[imgdir_statusicon]/journal_old.gif" border="0" alt="This Journal does not contain new entries." /></if></if></td>
<td class="$bgclass" width="100%"><div style="float: right"><img src="$stylevar[imgdir_rating]/rating_$rating.gif" /></div><a href="journal.php?do=showjournal&j=$journal[journal_id]"><if condition="$journal[journalname]">$journal[journalname]<else />$journal[journalist]'s Journal</if></a><if condition="$viewing[$journalid]>0"><span class="smallfont">($viewing[$journalid] viewing)</span></if><if condition="$show[privatelock]"><img src="$stylevar[imgdir_statusicon]/wol_lockedout.gif" alt="This Journal is Private" /></if><br /><div class="smallfont">$journal[journaldesc]</td>
<td class="$bgclass" align="center" nowrap="nowrap">$journal[journalviews]</td>
<td class="$bgclass" align="center" nowrap="nowrap">$journal[entrycount]</td>
<td class="$bgclass" align="center" nowrap="nowrap">$journal[commentcount]</td>
<td class="$bgclass" nowrap="nowrap">
<if condition="$journal[entrycount]>0">
<div class="smallfont" align="$stylevar[left]">
<div style="clear:both">
<a href="journal.php?do=showentry&e=$journal[lastentry_id]" title="Go To Last Entry"><strong>$journal[lastentry]</strong></a>
</div>
<div align="$stylevar[right]">
$lastedate<span class="time"> $lastetime
<a href="journal.php?do=showentry&e=$journal[lastentry_id]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="Go To Last Entry" border="0" /></a>
</div>
</div>
<else />
<div class="smallfont" align="center">No Entries</div>
</if>
</td>
</tr>
i searched in journal_entrybits but i could not even find a ";" so....
theArchitect
09-20-2004, 03:11 AM
try replacing journal_journalbits with this
Thankyou for your efforts. The template was accepted (no error messages were displayed). But I am still getting these two errors when displaying a Journal:
Parse error: parse error, unexpected ';' in \forum\journal.php(753) : eval()'d code on line 33
Parse error: parse error, unexpected ';' in \forum\journal.php(753) : eval()'d code on line 33
I don't have any problems with the main Journal page, just when I try and display a specific Journal. As I said the journal displays but with these two errors at the top of the page.
SasukeNC
09-20-2004, 07:16 AM
i just installed the hack, but when i try to access the journal index and just anything to do with the Journal in general, i get this error:
you do not have permission to access this page. This could be due to one of several reasons:
1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
any help is appreciated b/c i really want to use this hack. Thanks.
rinkrat
09-20-2004, 07:26 AM
Go to ACP and USERGROUPS and make sure the admin can have a jounal ;)
SasukeNC
09-20-2004, 07:47 AM
yea i just went to change it but the thing is, it's set as Yes for Default. So i just did anyway and i still get this problem. Any other help is appreciated.
Users avatars not showing .. where do I find the path to show avatars or is there an option to not show members avatars when creating a journal ?
Great hack BTW ..
Doesn't appear to work with animated gif avatars .. static avatars show with no problems.
AN-net
09-20-2004, 09:48 AM
Doesn't appear to work with animated gif avatars .. static avatars show with no problems.
it works with gif animated avatars, one of my users uses an animated gif;)
AN-net
09-20-2004, 09:49 AM
Thankyou for your efforts. The template was accepted (no error messages were displayed). But I am still getting these two errors when displaying a Journal:
Parse error: parse error, unexpected ';' in \forum\journal.php(753) : eval()'d code on line 33
Parse error: parse error, unexpected ';' in \forum\journal.php(753) : eval()'d code on line 33
I don't have any problems with the main Journal page, just when I try and display a specific Journal. As I said the journal displays but with these two errors at the top of the page.
ill keep looking for that ';' ;)
SasukeNC
09-20-2004, 01:06 PM
even w/ the proper usergroups changed, i still get this error msg when trying to view the Journal:
you do not have permission to access this page. This could be due to one of several reasons:
1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
I don't know where the root of the problem is so i can't fix it and its really bugging me to the point that i even re-installed the hack. However, still a problem. If anyone, especially AN-net can help me out, it'd be appreciated. Thanks.
theArchitect
09-20-2004, 01:37 PM
even w/ the proper usergroups changed, i still get this error msg when trying to view the Journal:
All you should need to do is to go to your usergroup manager. Choose the user group to wish to have access to the Journal system, and then scroll down until you get to Journal permissions (It should be at the bottom of the page and look like the attached).
Then tick the desired boxes and "hey presto".
SasukeNC
09-20-2004, 02:41 PM
ohh i see now.. thnx architect, i went to the thing but there seems to be a problem. Its missing some fields for some reason and it looks like the pic below.
ohh i see now.. thnx architect, i went to the thing but there seems to be a problem. Its missing some fields for some reason and it looks like the pic below.
https://vborg.vbsupport.ru/showpost.php?p=553468&postcount=56
theArchitect
09-20-2004, 02:52 PM
ohh i see now.. thnx architect, i went to the thing but there seems to be a problem. Its missing some fields for some reason and it looks like the pic below.
Easy fix. Go to admincp/usergroup.php and replace:
print_table_header($vbphrase['journal_permissions']);
print_yes_no_row($vbphrase['can_view_journal'], 'usergroup[canviewjournal]', $ug_bitfield['canviewjournal']);
print_yes_no_row($vbphrase['can_have_journal'], 'usergroup[canhavejournal]', $ug_bitfield['canhavejournal']);
print_yes_no_row("Can View Comments", 'usergroup[canviewcomments]', $ug_bitfield['canviewcomments']);
print_yes_no_row($vbphrase['can_comment_journals'], 'usergroup[cancommentjournals]', $ug_bitfield['cancommentjournals']);
print_yes_no_row($vbphrase['can_rate_journals'], 'usergroup[canratejournals]', $ug_bitfield['canratejournals']);
print_yes_no_row($vbphrase['can_report_entries'], 'usergroup[canreportentries]', $ug_bitfield['canreportentries']);
print_yes_no_row($vbphrase['can_edit_own_journal'], 'usergroup[caneditownjournal]', $ug_bitfield['caneditownjournal']);
print_yes_no_row("Can Edit Own Journal Entries", 'usergroup[caneditownentries]', $ug_bitfield['caneditownentries']);
print_yes_no_row($vbphrase['can_delete_own_journal'], 'usergroup[candeleteownjournal]', $ug_bitfield['candeleteownjournal']);
print_yes_no_row("Can Delete Own Journal Entries", 'usergroup[candeleteownentries]', $ug_bitfield['candeleteownentries']);
print_yes_no_row($vbphrase['can_search_journal'], 'usergroup[cansearchjournal]', $ug_bitfield['cansearchjournal']);
// print_yes_no_row($vbphrase['can_edit_others_journal'], 'usergroup[caneditothersjournal]', $ug_bitfield['caneditothersjournal']);
// print_yes_no_row($vbphrase['can_edit_others_entries'], 'usergroup[caneditothersentries]', $ug_bitfield['caneditothersentries']);
// print_yes_no_row($vbphrase['can_delete_others_journal'], 'usergroup[candeleteothersjournal]', $ug_bitfield['candeleteothersjournal']);
// print_yes_no_row($vbphrase['can_delete_others_entries'], 'usergroup[candeleteothersentries]', $ug_bitfield['candeleteothersentries']);
print_table_break();
with
print_table_header("Journal Permissions");
print_yes_no_row("Can View Journal", 'usergroup[canviewjournal]', $ug_bitfield['canviewjournal']);
print_yes_no_row("Can Have Journal", 'usergroup[canhavejournal]', $ug_bitfield['canhavejournal']);
print_yes_no_row("Can View Comments", 'usergroup[canviewcomments]', $ug_bitfield['canviewcomments']);
print_yes_no_row("Can Comment Journals", 'usergroup[cancommentjournals]', $ug_bitfield['cancommentjournals']);
print_yes_no_row("Can Rate Journals", 'usergroup[canratejournals]', $ug_bitfield['canratejournals']);
print_yes_no_row("Can Report Journals", 'usergroup[canreportentries]', $ug_bitfield['canreportentries']);
print_yes_no_row("Can Edit Own Journal", 'usergroup[caneditownjournal]', $ug_bitfield['caneditownjournal']);
print_yes_no_row("Can Edit Own Journal Entries", 'usergroup[caneditownentries]', $ug_bitfield['caneditownentries']);
print_yes_no_row("Can Delete Own Journal", 'usergroup[candeleteownjournal]', $ug_bitfield['candeleteownjournal']);
print_yes_no_row("Can Delete Own Journal Entries", 'usergroup[candeleteownentries]', $ug_bitfield['candeleteownentries']);
print_yes_no_row("Can Search Journal", 'usergroup[cansearchjournal]', $ug_bitfield['cansearchjournal']);
// print_yes_no_row("Can Edit Others Journal", 'usergroup[caneditothersjournal]', $ug_bitfield['caneditothersjournal']);
// print_yes_no_row("Can Edit Others Entries", 'usergroup[caneditothersentries]', $ug_bitfield['caneditothersentries']);
// print_yes_no_row("Can Delete Others Journal", 'usergroup[candeleteothersjournal]', $ug_bitfield['candeleteothersjournal']);
// print_yes_no_row("Can Delete Otheers Entries", 'usergroup[candeleteothersentries]', $ug_bitfield['candeleteothersentries']);
print_table_break();
Also make sure you upload AN-Net's updated PHP file found here https://vborg.vbsupport.ru/showpost.php?p=553904&postcount=130
Then make sure you thank rinkrat for the alteration of the usergroup.php file.
SasukeNC
09-20-2004, 03:09 PM
wow that did the trick. thanks alot for all the help. BTW, are there any other fixes/updates i should make to the script? thanks again.
theArchitect
09-20-2004, 03:14 PM
wow that did the trick. thanks alot for all the help. BTW, are there any other fixes/updates i should make to the script? thanks again.
No worries. Happy to help.
If you have a look at the first post you will see a list of the latest fixes.
spence2
09-20-2004, 04:35 PM
When phrasefix.php [posted by AN-net] did not fix my phrase problem [same "missing" phrases in usergroup permissions in admin options] ...
1. In my control panel I searched through phrases for " Can View Journal "
2. Found it in "custom" phrases
3. Clicked to duplicate it in my "English" translation box [which appears directly below the phrase]
4. Clicked "save"
5. And magically ... for whatever reason ... all of my missing phrases then appeared correctly in the permissions page. :)
AN-net
09-20-2004, 04:45 PM
When phrasefix.php [posted by AN-net] did not fix my phrase problem [same "missing" phrases in usergroup permissions in admin options] ...
1. In my control panel I searched through phrases for " Can View Journal "
2. Found it in "custom" phrases
3. Clicked to duplicate it in my "English" translation box [which appears directly below the phrase]
4. Clicked "save"
5. And magically ... for whatever reason ... all of my missing phrases then appeared correctly in the permissions page. :)
doh! totally forgot about the english language pack:)
???`S?LV?R???`
09-20-2004, 07:00 PM
I heard there was a problem with user's having animated gif's as their avatars, has this been fixed yet?
AN-net
09-20-2004, 07:04 PM
someone reported that but users on my website seem to have no problem with animated gif avatars check out seraph's journal or my journal;)
architect i can not find a single ';' in either journal_entrybits or journal_showentrypage
Bolas
09-20-2004, 09:09 PM
maybe.. Architect's problem is not in the template itself, but near the code that eval the template you checked.
You can debug it:
instead of run
eval('$output = "' . fetch_template('TEMPLATE-NAME') . '";');
try
eval('$output = "' . fetch_template('TEMPLATE-NAME') . '";');
echo $output;
exit;
Check the output in your browser, go to line 33 and there are a lot of probabilities you will find an error in the php code.
It's not on line 33? look around... ;-)
theArchitect
09-20-2004, 11:33 PM
architect i can not find a single ';' in either journal_entrybits or journal_showentrypage
I have checked and re-checked. I will try uninstalling and re-installing (though this will have to wait a couple of days until I get some spare time) as I must have got something during the install process as Journal entries are not displaying. Comments come up ok, but no entries.
Thankyou for your assistance. I will let you know how I go.
Brahm
09-21-2004, 12:09 AM
Thanks for the work you did at bringing this to VB 3! Here is how I added a block to VBindex for those that may want to display the Latest Journal Entries on their front page using VBindex.
AN-net
09-21-2004, 12:56 AM
Thanks for the work you did at bringing this to VB 3! Here is how I added a block to VBindex for those that may want to display the Latest Journal Entries on their front page using VBindex.
ooooo very nice, release that in mini-mods as well;)
venomx
09-21-2004, 01:32 AM
Have all the updates been added to the first posts zip?
Hi An-Net
Thank you for releasing this great hack. I went thru the installation without a hickup
However, I notice that I have 2 privacy section selection when I try to create a new journal entry
Here is how it look:
Is it normal??
Thanks
9mmPrincess
09-21-2004, 02:25 AM
question-i have the journal installed, but how do i add the mood icons?
also-is there any way to add another field, like "current music" or something, under "moods"?
thanks
AN-net
09-21-2004, 02:38 AM
Hi An-Net
Thank you for releasing this great hack. I went thru the installation without a hickup
However, I notice that I have 2 privacy section selection when I try to create a new journal entry
Here is how it look:
http://www.aotrangmongmo.com/forum/vbquestion/journal_privacy.png
Is it normal??
Thanks
um it looks like you changed the template and so you must have doubled the code somehow;)
question-i have the journal installed, but how do i add the mood icons?
also-is there any way to add another field, like "current music" or something, under "moods"?
thanks
you can add moods in admincp, um current music is not currently an option but ill consider it as a suggestion:)
AN-net
09-21-2004, 02:39 AM
Have all the updates been added to the first posts zip?
to my knowledge yes, problems currently being fixed havent been added since they have yet to be completely solved;)
venomx
09-21-2004, 02:40 AM
Been holding off a bit to install... just wondering if I should...
???`S?LV?R???`
09-21-2004, 02:43 AM
yeah I been holding off on the install also, due to some bugs still being sorted out... and yeah that music currently playing idea was something I was gonna suggest also.
um it looks like you changed the template and so you must have doubled the code somehow;)
So it is okie to take out one section without affecting the performance. :) I modified the template because I want to have the collapsible option. I hope you don't mind :)
9mmPrincess
09-21-2004, 03:05 AM
um it looks like you changed the template and so you must have doubled the code somehow;)
you can add moods in admincp, um current music is not currently an option but ill consider it as a suggestion:)
noo i know its in the admin CP, but when i go to add moods, its just
"mood" and then an empty box
and then
"mood image" and then another empty box. i know in "mood" i write "happy" but what do i put in the second box? do i just upload the mood smiley anywhere, for example forum/images/moods, and then in that blank box put forum/images/moods/happy.gif?
edit-it cant be that way, cuz i just tried it and it didnt work, nothing showed up at all....
9mmPrincess
09-21-2004, 03:17 AM
ok i got the moods to show up in the admin CP, in the moods section..if i click "show moods" it shows the two moods i uploaded-i used the whole path http://www.myforumname/forum/images/happy.gif and it shows up in show moods
but it doesnt show up in my journal :( i have two images so far, cool, and really happy. i've chosen them both, each on a separate entry, but nothing shows up-its as if theyre not there at all.
everything else seems to be running ok..
9mmPrincess
09-21-2004, 05:07 AM
does anyone know how to get the mood image to show up in the journal?
9mmPrincess
09-21-2004, 09:38 AM
also, do smilies not work in the comments part? cuz they arent working for me..
AN-net
09-21-2004, 09:59 AM
also, do smilies not work in the comments part? cuz they arent working for me..
they work, just not on recent comments;)
AN-net
09-21-2004, 10:01 AM
noo i know its in the admin CP, but when i go to add moods, its just
"mood" and then an empty box
and then
"mood image" and then another empty box. i know in "mood" i write "happy" but what do i put in the second box? do i just upload the mood smiley anywhere, for example forum/images/moods, and then in that blank box put forum/images/moods/happy.gif?
edit-it cant be that way, cuz i just tried it and it didnt work, nothing showed up at all....
the image must already exist on your server you can either type the full path like http://www.yoursite/images/moods/happy.gif or /images/moods/happy.gif for example:)
9mmPrincess
09-21-2004, 03:29 PM
to reorder (no choose by user)?
Just change ASC to DESC in the longest query in journal.php file...
in journal.php find
GROUP BY journal_entries.entry_id
ORDER BY entrydate ASC
LIMIT $start,$perpage
replace it with
GROUP BY journal_entries.entry_id
ORDER BY entrydate DESC
LIMIT $start,$perpage
thanks for that, worked for me :)
y2krazy
09-21-2004, 04:09 PM
Shot a request over to the vBadvanced forums to integrate this into the CMPS system. Hopefully it will make a nice module for all to see when they are on the Home page... :)
REQUEST: vB Journal Module (http://vbadvanced.com/forum/showthread.php?t=2689)
* y2krazy clicks install!
Bolas
09-21-2004, 06:09 PM
Thanks for the work you did at bringing this to VB 3! Here is how I added a block to VBindex for those that may want to display the Latest Journal Entries on their front page using VBindex.
Brahm, I'm converting it for CMPS. Can I share it?
----------------
edit: finished and running on my vBulletin 3.0.3 (CMPS 1.0.0). Try it on http://www.wellage.net
It's on the bottom right of the page (just testing it: I will change the position after Brahm 'let's go!').
I added phrase support for the phrases "There are no entries." and the thead of the module.
???`S?LV?R???`
09-21-2004, 06:56 PM
making it a module on vbadvanced CMPS would be awesome
Bolas
09-21-2004, 06:59 PM
would? Mine is a vba cmps module. Just waiting for approvation (pm sent to Brahm and AN-net) because it's just a 2 minutes time conversion! ;-)
AN-net
09-21-2004, 07:21 PM
would? Mine is a vba cmps module. Just waiting for approvation (pm sent to Brahm and AN-net) because it's just a 2 minutes time conversion! ;-)
i think what they mean by module is say index.php?page=journal
Interesting.... I'll check this out for sure soon.
Bolas
09-21-2004, 07:25 PM
i think what they mean by module is say index.php?page=journal
U're right! :)
Mumble... I will study the code to make it...
FleaBag
09-21-2004, 07:36 PM
Anyone managed to get a port working from the other journal script?
Bolas
09-21-2004, 07:42 PM
in particular what do you need?
Hi An-net
For some reasons, my members doesn't have the ability to edit their own journals. I turned on everything under Usergroup permissions
Thanks
???`S?LV?R???`
09-21-2004, 08:34 PM
(wondering if it's been approved yet) lol
Amiga-uk
09-21-2004, 10:34 PM
to reorder (no choose by user)?
Just change ASC to DESC in the longest query in journal.php file...
in journal.php find
GROUP BY journal_entries.entry_id
ORDER BY entrydate ASC
LIMIT $start,$perpage
replace it with
GROUP BY journal_entries.entry_id
ORDER BY entrydate DESC
LIMIT $start,$perpage
Thanks a lot, worked a charm =)
teksigns
09-21-2004, 11:04 PM
i can not find a way to delete comments made from the main journal entry .....
all the entries show (0) for comments but there is comments showing at the bottom
of the journal .... these get added by adding a comment without clicking a discuss button ....
how do you remove these comments ... ????????
i can not find a way......
Bolas
09-22-2004, 12:06 AM
Do you mean in the personal journal... so you want to remove the possibility to comment at the bottom of the page?
Do you mean when you are in an url like
http://www.foo.net/forum/journal.php?do=showjournal&j=4
Ok, first backup your templates, all the files hosted in the server and let's go...
in template 'journal_journalpage'
FIND '$reccombits'
This var is the output of the comments. Maybe you would like to purge out the textarea (to add comment) and the comment list.
So...
FIND
<if condition="$can[comment] AND $journalinfo[status]!=1">
<br />
<a name="adcom"></a>
<form action="journal.php?do=insertcomment&j=$j" method="post" name="comment" onsubmit="return validate()">
<input type="hidden" name="commenter" value="$bbuserinfo[username]" />
<input type="hidden" name="commenterid" value="$bbuserinfo[userid]" />
<input type="hidden" name="j" value="$j" />
<table class="tborder" align="center" cellspacing="$styelvar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0">
<tbody>
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('journal_addcom')"><img id="collapseimg_journal_addcom" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_journal_addcom].gif" alt="" border="0"></a>Add Comment to <if condition="$journalinfo[journalname]">$journalinfo[journalname] Journal <else />$journalinfo[journalist]'s Journal</if></td>
</tr>
</tbody>
<tbody id="collapseobj_journal_addcom" style="$vbcollapse[collapsetobj_journal_addcom]">
<tr>
<td class="alt1">Title: <input type="text" name="title" value="" maxlength="100" size="70" /></td>
</tr>
<tr>
<td class="alt2" align="center"><fieldset><legend>Comment:</legend><table><tr><td><textarea name="comment" cols="60" rows="4"></textarea></td></tr></table></fieldset></td>
</tr>
<tr>
<td class="tfoot" align="center"><input type="submit" value="Add Comment!" class="button" /></td>
</tr>
</tbody>
</table>
</form>
</if>
<if condition="$canview[comments]">
<br />
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tbody>
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('journal_reccom')"><img id="collapseimg_journal_reccom" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_journal_reccom].gif" alt="" border="0"></a>Recent Comments:</td>
</tr>
</tbody>
<tbody id="collapseobj_journal_reccom" style="$vbcollapse[collapsetobj_journal_reccom]">
$reccombits
</tbody>
<tr>
<td class="tfoot"> </td>
</tr>
</table>
</if>
<br />
REPLACE IT WITH
teksigns
09-22-2004, 12:12 AM
Do you mean in the personal journal... so you want to remove the possibility to comment at the bottom of the page?
Do you mean when you are in an url like
http://www.foo.net/forum/journal.php?do=showjournal&j=4
Ok, first backup your templates, all the files hosted in the server and let's go...
in template 'journal_journalpage'
FIND '$reccombits'
This var is the output of the comments. Maybe you would like to purge out the textarea (to add comment) and the comment list.
So...
FIND
<if condition="$can[comment] AND $journalinfo[status]!=1">
<br />
<a name="adcom"></a>
<form action="journal.php?do=insertcomment&j=$j" method="post" name="comment" onsubmit="return validate()">
<input type="hidden" name="commenter" value="$bbuserinfo[username]" />
<input type="hidden" name="commenterid" value="$bbuserinfo[userid]" />
<input type="hidden" name="j" value="$j" />
<table class="tborder" align="center" cellspacing="$styelvar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0">
<tbody>
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('journal_addcom')"><img id="collapseimg_journal_addcom" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_journal_addcom].gif" alt="" border="0"></a>Add Comment to <if condition="$journalinfo[journalname]">$journalinfo[journalname] Journal <else />$journalinfo[journalist]'s Journal</if></td>
</tr>
</tbody>
<tbody id="collapseobj_journal_addcom" style="$vbcollapse[collapsetobj_journal_addcom]">
<tr>
<td class="alt1">Title: <input type="text" name="title" value="" maxlength="100" size="70" /></td>
</tr>
<tr>
<td class="alt2" align="center"><fieldset><legend>Comment:</legend><table><tr><td><textarea name="comment" cols="60" rows="4"></textarea></td></tr></table></fieldset></td>
</tr>
<tr>
<td class="tfoot" align="center"><input type="submit" value="Add Comment!" class="button" /></td>
</tr>
</tbody>
</table>
</form>
</if>
<if condition="$canview[comments]">
<br />
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tbody>
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('journal_reccom')"><img id="collapseimg_journal_reccom" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_journal_reccom].gif" alt="" border="0"></a>Recent Comments:</td>
</tr>
</tbody>
<tbody id="collapseobj_journal_reccom" style="$vbcollapse[collapsetobj_journal_reccom]">
$reccombits
</tbody>
<tr>
<td class="tfoot"> </td>
</tr>
</table>
</if>
<br />
REPLACE IT WITH
no not exactly
when comments are made at the bottom of the page like at:
http://www.foo.net/forum/journal.php?do=showjournal&j=4
then as a administrator i have no way of removing comments
that need removed later .......
how do i remove a single comment that was posted this way .....
there is no delete buttons at the bottom of the page .....
Bolas
09-22-2004, 12:19 AM
Ah ok... 'cause my users are confused by this type of comment and I will remove it.
AN-net
09-22-2004, 01:12 AM
no not exactly
when comments are made at the bottom of the page like at:
http://www.foo.net/forum/journal.php?do=showjournal&j=4
then as a administrator i have no way of removing comments
that need removed later .......
how do i remove a single comment that was posted this way .....
there is no delete buttons at the bottom of the page .....
you can delete comments via http://www.yoursite.com/forums/journal.php?do=showcomments&j=xx
each comment will have a delete button;)
recent comments is not only for journal wide comments but for comments in reply to entries;) recent comments doesnt allow any kind of moderation from there since it just informs you of recent comments nothing more(no parsing etc.)
9mmPrincess
09-22-2004, 01:40 AM
quick question for an-net or anyone:
when you check the box for "make this entry private", then it says "allow journal buddies to view". if i just check "yes, allow journal buddies to view" do i still have to put their userids in the field below? and does userids mean what i think it means-the persons NUMBER, or does it mean the persons username?
thanks
teksigns
09-22-2004, 02:18 AM
AN-net : Thank you
-------------------------------------
any chance of getting email notifications or pm notifications when a new comment is added to the journal .....
AN-net
09-22-2004, 02:52 AM
quick question for an-net or anyone:
when you check the box for "make this entry private", then it says "allow journal buddies to view". if i just check "yes, allow journal buddies to view" do i still have to put their userids in the field below? and does userids mean what i think it means-the persons NUMBER, or does it mean the persons username?
thanks
if you choose private and choose allow buddies view then you dont need to put your journal buddyies id's in the field, the field is meant for people you usually dont let view your entries/journal:) userids refers to their number and username refers to their name, so only use userid/number;)
Hi An-Net
Is it possible for my member to edit their own entries. I allow everything under usegroup permission but they still cannot edit their journal. They don't have the edit button show up
9mmPrincess
09-22-2004, 06:05 AM
if you choose private and choose allow buddies view then you dont need to put your journal buddyies id's in the field, the field is meant for people you usually dont let view your entries/journal:) userids refers to their number and username refers to their name, so only use userid/number;)
got it, thanks :)
yinyang
09-22-2004, 08:03 AM
i will be looking into a template installer;)
hi an-net, any news on this? also, is there a recent zip of all the file edits made up to this point?
-yinyang
PS - i'm looking forward to your next hack... :)
trackpads
09-22-2004, 11:47 AM
An-net!
Thanks for the great work, been waiting too long for a great hack that does this!
Hack of the month!!
-Jason
trackpads
09-22-2004, 02:38 PM
Where are the entries supposed to be? Did I screw something up? I dont see them on the journal page-
AN-net
09-22-2004, 04:28 PM
Where are the entries supposed to be? Did I screw something up? I dont see them on the journal page-
um did u install the journal_entrybits template or are the entries private?
trackpads
09-22-2004, 08:53 PM
um did u install the journal_entrybits template or are the entries private?
Yup, totally missed that one!!
Thanks for the help!!!
-Jason
AN-net
09-22-2004, 09:16 PM
Yup, totally missed that one!!
Thanks for the help!!!
-Jason
good:)
Bolas
09-22-2004, 09:53 PM
Brahm didn't replied to my pm... -.-'
I can't post here conversion of his vbindex block to cmps portal.
If anyone need it I will send it in private. ;-)
y2krazy
09-23-2004, 12:40 AM
If anyone need it I will send it in private. ;-)*cough* ahem! *cough*
:devious:
9mmPrincess
09-23-2004, 02:06 PM
i still cant get the moods to work for me for some wierd reason. whats odd is that i read someone else's journal and the mood shows up for them-above the post it says Mood: :) but when i select a mood and post my journal entry, no mood is there
i'm totally confounded :(
ps-anyone thinking of doing a custom set of moods for Vb? i never liked the livejournal mood icons....the foxies were the best tho.
i still cant get the moods to work for me for some wierd reason. whats odd is that i read someone else's journal and the mood shows up for them-above the post it says Mood: :) but when i select a mood and post my journal entry, no mood is there
i'm totally confounded :(
ps-anyone thinking of doing a custom set of moods for Vb? i never liked the livejournal mood icons....the foxies were the best tho.
I had the same problem .. try adding your journal entry and then select your mood as the last option before you hit submit.
For some reason if you select mood 'before' adding the text it doesn't show the mood selected. :)
Randall Rath
09-23-2004, 04:26 PM
I had the same problem .. try adding your journal entry and then select your mood as the last option before you hit submit.
For some reason if you select mood 'before' adding the text it doesn't show the mood selected. :)
Installed and being used
Fantastic work, An-net. I look forward to your next release.
Gio Takahashi
09-23-2004, 05:27 PM
:/ whats going on with that importer. I'd really like to upgrade.
AN-net
09-23-2004, 06:57 PM
:/ whats going on with that importer. I'd really like to upgrade.
once i regain access to my site i can create the importer but until then i cant really do much>_>
intrigue
09-24-2004, 09:49 AM
Ok i have installed but it hasnt added the usergroup table fields properly i have journal permissions and thats it. I have tried the fixes in this post and read through the whole thread and cant find nothing that will help.
I also looked at the install file and it doesnt say anythiung about updating the usergroup table other then journalpermissions
.matt
AN-net
09-24-2004, 10:02 AM
Ok i have installed but it hasnt added the usergroup table fields properly i have journal permissions and thats it. I have tried the fixes in this post and read through the whole thread and cant find nothing that will help.
I also looked at the install file and it doesnt say anythiung about updating the usergroup table other then journalpermissions
.matt
im not sure what your saying......
intrigue
09-24-2004, 10:19 AM
its ok an net i manually updated the usergroup table with phpmyadmin and it now works. However next problem im having is i get
Fatal error: Call to undefined function: fetch_journal() in /blahblahblah/httpdocs/vbb/member.php on line 571
oh and i checked functions_user and the fetch_journal function is there!
and also the Journal.php when viewed is just a blank white screen yet i can create a journal fine just not view it
cosmin
09-24-2004, 01:04 PM
--
this looks like an awesome hack... i downloaded it, and went through the entire install readme... i ADDED THE PHP FILES correctly, EDITED all of the PHP files, EDITED all of the existing TEMPLATES, and finally ADDED all of the TEMPLATES.
... of course i went through the JOURNALINSTALL.php ..and even went to my USERGROUP > and changed the permissions for my admin usergroup to YES for all.
i went to my journal page, and i get a BLANK WHITE SCREEN.
what is wrong?
... one small bug i saw is that in USERGROUP it is missing some $vbphrases (please see attachment) ...i assume these should have been installed automatically via the journalinstall.php file.
one last thing is, i checked my styles, and the templates are all installed in the current style that i am viewing.
any ideas whats wrong?
nineball
09-24-2004, 02:50 PM
I had the same problem. My problem was that I didn't use upper case when adding the journal template. It must be JOURNAL. You might want to check that.
cosmin
09-24-2004, 03:03 PM
--
thanks... that did the trick! :D
I have a trouble of user being able to edit their own journal. I turn on verything under admincp with out success. I post two question to An-Net but they are all ignored.
FleaBag
09-24-2004, 03:56 PM
:/ whats going on with that importer. I'd really like to upgrade.
What he said.
intrigue
09-24-2004, 04:40 PM
I had the same problem. My problem was that I didn't use upper case when adding the journal template. It must be JOURNAL. You might want to check that.
dont believe that fixed me problem
.matt
AN-net
09-24-2004, 06:44 PM
its ok an net i manually updated the usergroup table with phpmyadmin and it now works. However next problem im having is i get
Fatal error: Call to undefined function: fetch_journal() in /blahblahblah/httpdocs/vB/member.php on line 571
oh and i checked functions_user and the fetch_journal function is there!
and also the Journal.php when viewed is just a blank white screen yet i can create a journal fine just not view it
um if you cant view journals make sure u inserted the journal_journalpage template and its corresponding templates;)
um did u the file edits to member.php correctly?
traderx
09-25-2004, 02:31 AM
OK... i hope that I did every thing correctly.... I don't get any errors but with I go to the journal page http://www.4xtraders.com/forum/journal.php I get below
TraderX, you do not have permission to access this page. This could be due to one of several reasons:
1.Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2.If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Now I did a double check on templates (as suggested by nineball) to make sure JOURNAL was in all caps and it is.
Any Ideas?
AN-net
09-25-2004, 03:05 AM
OK... i hope that I did every thing correctly.... I don't get any errors but with I go to the journal page http://www.4xtraders.com/forum/journal.php I get below
Now I did a double check on templates (as suggested by nineball) to make sure JOURNAL was in all caps and it is.
Any Ideas?
did u set the usergroup permissions?
traderx
09-25-2004, 03:16 AM
No... how do I go about doing this.... with Journal or with vb's permissions
traderx
09-25-2004, 03:25 AM
got it thanks
Hi An-Net
I finally figure out why I the delete and edit button doesn't show up. On my board member can belong two or more usergroups. If I have my users belong to one group, then the permission to delete and edit works. If I have my users belong to two or more groups, then the permission to delete and edit works doesn't work
I setup my Register User group "Allow Users to have Member Groups" to Yes. It still doesn't work.
Would you please help me on this
Thanks
y2krazy
09-25-2004, 06:23 AM
A small suggestion for someone with some free time:
Integrate a "preview" for the selected mood. When you are making a new thread or a new reply with the regular method(not the quick reply), when you select a post icon, it will display to the right of your thread/reply title closer to the top of the page. If you could allow this same feature to show up maybe to the right of the mood drop-down box, it would eliminate any confusion as to what the mood's image will actually look like as compared to the member guessing and submitting the entire entry before finding out what the mood will look like exactly. Something that would make things simpler and possible relieve a little confusion if it were ever to become prevalent. Thanks for the great hack once again, AN! :squareeyed:
BarHopper
09-25-2004, 02:20 PM
I always struggle on fgile edits and if anyone has a second, would they pleas ebe able to do the file edits for the 4 includes files. It would be greatly appreciated. Everything is else is done.
AN-net
09-25-2004, 05:40 PM
A small suggestion for someone with some free time:
Integrate a "preview" for the selected mood. When you are making a new thread or a new reply with the regular method(not the quick reply), when you select a post icon, it will display to the right of your thread/reply title closer to the top of the page. If you could allow this same feature to show up maybe to the right of the mood drop-down box, it would eliminate any confusion as to what the mood's image will actually look like as compared to the member guessing and submitting the entire entry before finding out what the mood will look like exactly. Something that would make things simpler and possible relieve a little confusion if it were ever to become prevalent. Thanks for the great hack once again, AN! :squareeyed:
i do plan to intergrate some form of javascript for moods into the next version:)
AN-net
09-25-2004, 07:24 PM
ok i have regained access to my site, turns out while my host lost power in florida the server i am on was attacked so the datacenter in texas did a massive ip ban putting me in that ban. anyways now im back and i will be developing the importer later night when i get back from work:)
y2krazy
09-26-2004, 01:49 AM
i do plan to intergrate some form of javascript for moods into the next version:)Awesome! In due time, get a good update in order. Don't rush through anything, and if we have to wait another 2 months for an update, then I'll be there waiting patiently... :)
Thanks for providing such great support and such a great hack! We truly are endebted to you for sticking with it when so many people were complaining! ;)
MickeyD
09-26-2004, 05:00 PM
uhh.. i think something wack happened while installing... the forums width now extends too far see here ... http://www.christianpunk.net/forums/
How do i change this>?
blueuniverse
09-26-2004, 08:11 PM
Any idea, when the converter might be available. I am itching to convert the older blog software thing, to this, as it looks excellent.
AN-net
09-26-2004, 08:37 PM
uhh.. i think something wack happened while installing... the forums width now extends too far see here ... http://www.christianpunk.net/forums/
How do i change this>?
oh that is due to your navbar having to much in it, create a new row and you should be;)
AN-net
09-26-2004, 08:38 PM
Any idea, when the converter might be available. I am itching to convert the older blog software thing, to this, as it looks excellent.
if someone can help me install the vb3 port of ryangle's journal i will be able to work on a converter because right now 3 of queries give me errors....
andor
09-26-2004, 11:49 PM
Ten thousand thanks for this, Ah-Net - the first hack I have installed! It has increased the value of our forum to our web community immensely. I'm quite excited to see how people are going to react.
Had to set up tables in SQL manually, but aside from that worked great. Hat's off to you and all the hard work.
AN-net
09-27-2004, 03:46 PM
ok well i cant get the vb3 port of ryangle's journal to work>_< so can someone explain the database to me:D contact me via aim please;)
Oblivion Knight
09-28-2004, 10:42 AM
Here are the table structures for the vB3 port of Ryangel's journal..
AN-net
09-28-2004, 06:21 PM
Here are the table structures for the vB3 port of Ryangel's journal..
ok but what does np and such other things mean?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.