Log in

View Full Version : vB Journal for vBulletin 3.0.3(v1.0.1)


Pages : 1 2 [3] 4 5 6 7

AN-net
11-10-2004, 01:59 AM
again...


[/list]
i already answered that question;)

AN-net
11-10-2004, 01:59 AM
where can I find the images in psd format?
i can send them to you if you want me too:)

AN-net
11-10-2004, 02:00 AM
So I take it that there is no answer to my question?
well im not exactly sure what the problem is... did you try just installing it on a fresh install...

TRStealth
11-10-2004, 02:14 AM
Yes, I said that already.

AN-net
11-10-2004, 02:45 AM
Yes, I said that already.
do you have debug on?

theArchitect
11-10-2004, 10:49 PM
For some reason I am missing the Journal Status Icons. I am getting text saying "This Journal does not contain new entries" rather than the usual image.

Any thoughts?

AN-net
11-10-2004, 10:59 PM
For some reason I am missing the Journal Status Icons. I am getting text saying "This Journal does not contain new entries" rather than the usual image.

Any thoughts?
did you upload them and place them in their respective directories?

theArchitect
11-10-2004, 11:18 PM
did you upload them and place them in their respective directories?
I didn't think that I needed to upload them as they are the icons such as forum_new.gif which are already in their necessary folders.

Unless I have got everything back to front.

traderx
11-10-2004, 11:32 PM
i can send them to you if you want me too:)
Please do

Lionel
11-11-2004, 12:48 AM
-------------------------------
Open: /includes/functions.php
-------------------------------
Find:
global $bbuserinfo, $session, $foruminfo, $threadinfo, $calendarinfo, $permissions, $vboptions;
-------------------------------
Replace Above With:
global $bbuserinfo, $session, $foruminfo, $threadinfo, $calendarinfo, $journalinfo, $permissions, $vboptions;
-------------------------------

-------------------------------
Find:
$shutdownqueries['sessionupdate'] = str_replace('###REPLACE###', ',inforum = ' . intval($foruminfo['forumid']) . ', inthread = ' . intval($threadinfo['threadid']) . ', incalendar = ' . intval($calendarinfo['calendarid']) . ', badlocation = ' . intval($bbuserinfo['badlocation']), $shutdownqueries['sessionupdate']);
-------------------------------
Replace Above 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']);
-------------------------------

-------------------------------
Find:
$replace = array(
',inforum, inthread, incalendar, badlocation',
',' . intval($foruminfo['forumid']) . ', ' . intval($threadinfo['threadid']) . ', ' . intval($calendarinfo['calendarid']) . ',' . intval($bbuserinfo['badlocation'])
);
-------------------------------
Replace above with:
$replace = array(
',inforum, injournal, inthread, incalendar, badlocation',
',' . intval($foruminfo['forumid']) . ', ' . intval($journalinfo['journal_id']) . ', ' . intval($threadinfo['threadid']) . ', ' . intval($calendarinfo['calendarid']) . ',' . intval($bbuserinfo['badlocation'])
);
------------------------------
Save and upload /includes/functions.php

AN-net
11-11-2004, 01:07 AM
When you mess up with sessions, you should warn people. For 6 weeks my online was messed up. I finally found out the reason. Your 'injournal' code does not belong in there!!!!!

-------------------------------
Open: /includes/functions.php
-------------------------------
Find:
global $bbuserinfo, $session, $foruminfo, $threadinfo, $calendarinfo, $permissions, $vboptions;
-------------------------------
Replace Above With:
global $bbuserinfo, $session, $foruminfo, $threadinfo, $calendarinfo, $journalinfo, $permissions, $vboptions;
-------------------------------

-------------------------------
Find:
$shutdownqueries['sessionupdate'] = str_replace('###REPLACE###', ',inforum = ' . intval($foruminfo['forumid']) . ', inthread = ' . intval($threadinfo['threadid']) . ', incalendar = ' . intval($calendarinfo['calendarid']) . ', badlocation = ' . intval($bbuserinfo['badlocation']), $shutdownqueries['sessionupdate']);
-------------------------------
Replace Above 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']);
-------------------------------

-------------------------------
Find:
$replace = array(
',inforum, inthread, incalendar, badlocation',
',' . intval($foruminfo['forumid']) . ', ' . intval($threadinfo['threadid']) . ', ' . intval($calendarinfo['calendarid']) . ',' . intval($bbuserinfo['badlocation'])
);
-------------------------------
Replace above with:
$replace = array(
',inforum, injournal, inthread, incalendar, badlocation',
',' . intval($foruminfo['forumid']) . ', ' . intval($journalinfo['journal_id']) . ', ' . intval($threadinfo['threadid']) . ', ' . intval($calendarinfo['calendarid']) . ',' . intval($bbuserinfo['badlocation'])
);
------------------------------
Save and upload /includes/functions.php
what are you talking about?

Lionel
11-11-2004, 01:13 AM
I am sorry if I sounded rude, but I am really upset. The table structure for session is different in 3.01 and the location of the journal code did not belong. As a result, my table format changed from dynamic to fixed, guest could not show as the code in funcions.php was misplaced.

For six weeks, I basically dissected every inch of vbulletin code to find out that the problem was in sessions update as per above code. The injournal alter table was last in the table, so of course the 'update' session became out of line with the newly added location of injournal in the shutdown query.

Again, I am sorry as I used your codes and know that you are a good coder.

Lionel
11-11-2004, 01:20 AM
This is the original vbulletin 3.01 table structure for session

CREATE TABLE `session` (
`sessionhash` varchar(32) NOT NULL default '',
`userid` int(10) unsigned NOT NULL default '0',
`host` varchar(15) NOT NULL default '',
`useragent` varchar(100) NOT NULL default '',
`lastactivity` int(10) unsigned NOT NULL default '0',
`location` varchar(255) NOT NULL default '',
`styleid` smallint(5) unsigned NOT NULL default '0',
`badlocation` smallint(5) unsigned NOT NULL default '0',
`inforum` smallint(5) unsigned NOT NULL default '0',
`inthread` int(10) unsigned NOT NULL default '0',
`incalendar` int(10) unsigned NOT NULL default '0',
`loggedin` smallint(5) unsigned NOT NULL default '0',
`idhash` varchar(32) NOT NULL default '',
`bypass` smallint(6) NOT NULL default '0',
PRIMARY KEY (`sessionhash`)
) TYPE=HEAP;

Lionel
11-11-2004, 01:22 AM
notice where idhash is?

CREATE TABLE `session` (
`sessionhash` char(32) NOT NULL default '',
`userid` int(10) unsigned NOT NULL default '0',
`host` char(15) NOT NULL default '',
`idhash` char(32) NOT NULL default '',
`lastactivity` int(10) unsigned NOT NULL default '0',
`location` char(255) NOT NULL default '',
`useragent` char(100) NOT NULL default '',
`styleid` smallint(5) unsigned NOT NULL default '0',
`loggedin` smallint(5) unsigned NOT NULL default '0',
`inforum` smallint(5) unsigned NOT NULL default '0',
`inthread` int(10) unsigned NOT NULL default '0',
`incalendar` smallint(5) unsigned NOT NULL default '0',
`badlocation` smallint(5) unsigned NOT NULL default '0',
`bypass` tinyint(4) NOT NULL default '0',
PRIMARY KEY (`sessionhash`)
) TYPE=HEAP;

AN-net
11-11-2004, 01:27 AM
I am sorry if I sounded rude, but I am really upset. The table structure for session is different in 3.01 and the location of the journal code did not belong. As a result, my table format changed from dynamic to fixed, guest could not show as the code in funcions.php was misplaced.

For six weeks, I basically dissected every inch of vbulletin code to find out that the problem was in sessions update as per above code. The injournal alter table was last in the table, so of course the 'update' session became out of line with the newly added location of injournal in the shutdown query.

Again, I am sorry as I used your codes and know that you are a good coder.
the code works for me, if you can further explain the problem or the conflict i will assist:)

Lionel
11-11-2004, 01:29 AM
AN net, look at above post and you will see the two tables for sessions are different. So when your code based on 3.03 was trying to update sessions, it could not.

AN-net
11-11-2004, 01:32 AM
AN net, look at above post and you will see the two tables for sessions are different. So when your code based on 3.03 was trying to update sessions, it could not.
i am sry for the mistake, if someone could provide me with vb3.0.1 functions.php file i will gladly fix this error, i did not realize the code and database change since 3.0.1:)

Lionel
11-11-2004, 01:35 AM
I know it's not your fault. I am actually blaming vbulletin in my mind. There was no reasons for that change. At least that I could see.

Where could I send you the file?

AN-net
11-11-2004, 01:35 AM
lionel could use [sql] tags and [php] tags around the code you posted so guests will not be able to view this vb code, thank you and i am deeply sry for not being aware of that change and any stress it may have caused you

send the file via my aim or email

Lionel
11-11-2004, 01:56 AM
I am trying to send via aim, but it says you are idle

FleaBag
11-11-2004, 01:16 PM
How difficult do you think it would be for me to manually change my database schema so my old journal date suits this one?

AN-net
11-11-2004, 03:23 PM
How difficult do you think it would be for me to manually change my database schema so my old journal date suits this one?
actually if you guys really dont care about an uninstaller i can just release the importer and all it will do is just change the database setup for the tables... i basically am done with the importer if thats all you guys wants:)

Lionel
11-11-2004, 03:47 PM
An-net I sent you a zip file by email. Did you get it? I used the email from your site... support@...

Bryan Ex
11-11-2004, 03:48 PM
That works just fine for me AN-net. The other concern I have is for any potential conflicts in the php edits because the site I got the original hack from is no longer online to reference.

AN-net
11-11-2004, 05:39 PM
An-net I sent you a zip file by email. Did you get it? I used the email from your site... support@...
which email?

AN-net
11-11-2004, 05:41 PM
That works just fine for me AN-net. The other concern I have is for any potential conflicts in the php edits because the site I got the original hack from is no longer online to reference.
your using the vb3 port of ryangle's journal? if so then check out http://www.vbhacks.us :)

Lionel
11-11-2004, 06:14 PM
I used the email by your site support@animation.net

AN-net
11-11-2004, 06:31 PM
ok i got, i looked over the vB 3.0.1 and the vB 3.0.3 functions.php and with the exec_shut_down() function there is nothing different so i dont see how my edit would affect it...

Lionel
11-11-2004, 07:13 PM
please look at it closer. The session was not updating at all. And that caused whos online to behave erratically never to display guests and making everyone invisible except to self; was not able to follow the locations, would freeze etc.... I uninstalled that part last night and after 6 weeks everything is back to normal.

After that I was getting a db error with the journal, so all I did was alter the table and put journal at the end. Journal works, but I don't know the importance of that code, because it is working without it.

When I compared the database of 3.01 and 3.03 I saw there was a difference. Mine was saying format heap and fixed versus heap and dynamic and were not in same order at all. So I dropped the table and re-installed sesssion from scratch, altering the new table with your alter table code. Still no good. So I reverted your changes and dropped your column. And guest what I saw 26 guests, and I was able to follow locations without the session freezing. Later on I realtered the table to correct the mysql error from journal who could not find the column. And, I spent the night monitoring. Whosonline is finally fixed.

Lionel
11-11-2004, 07:15 PM
And I will add that another hack, the emailreply which was installed after my online problems, I could not get to work... once I removed your code in functions.php, emailreply started to work.

Plus site is 10 times faster since.

AN-net
11-11-2004, 07:27 PM
i will look further into this:)

Lionel
11-11-2004, 07:30 PM
what is the importance of that code? Journal seems to work without it

AN-net
11-11-2004, 07:32 PM
what is the importance of that code? Journal seems to work without it
it allows vb to track exactly which journal you are in;)

Reeve of shinra
11-12-2004, 02:22 AM
actually if you guys really dont care about an uninstaller i can just release the importer and all it will do is just change the database setup for the tables... i basically am done with the importer if thats all you guys wants:)
AN-Net. I will take the importer if you have it ready.

AN-net
11-12-2004, 02:26 AM
AN-Net. I will take the importer if you have it ready.
ill do finish touches to it, wont really install anything but phrases;)

it will however do everything the installjournal.php does so you dont have to run that;)

Reeve of shinra
11-12-2004, 02:51 AM
gotcha. I was trying to figure out how to import the comments from the old system to the new and I thought it would be a simple cut / past type job but it wasnt lol

anagarically
11-12-2004, 03:23 AM
I am having a problem with it. The install went just perfect. I can view the vb journal in the admincp. I can see the Journal button on the main page and can click the drop-down. When i try to access either Journal Index or My Journal, I get a access denied screen. This happens with all users, even the main admin user. I have checked all the settings in the admincp, making sure that vb journal is active. Also checked the accounts I have tested, and they all have the vb journal turned on for them. Don't know what is up. Any ideas where the problem might be... ? Other than doing it over again... The code is all copied and pasted in.. exactly the way the install said, so is not a typing mistake. i hope.. so.. i don't know. Any ideas would help. thank you.

AN-net
11-12-2004, 03:25 AM
I am having a problem with it. The install went just perfect. I can view the vb journal in the admincp. I can see the Journal button on the main page and can click the drop-down. When i try to access either Journal Index or My Journal, I get a access denied screen. This happens with all users, even the main admin user. I have checked all the settings in the admincp, making sure that vb journal is active. Also checked the accounts I have tested, and they all have the vb journal turned on for them. Don't know what is up. Any ideas where the problem might be... ? Other than doing it over again... The code is all copied and pasted in.. exactly the way the install said, so is not a typing mistake. i hope.. so.. i don't know. Any ideas would help. thank you.
you did setup usergroup permissions correct?

anagarically
11-12-2004, 03:39 AM
Thank you VERY much. I totally forgot about the usergroup options.

xg3
11-12-2004, 10:12 AM
is there any variable i can put in the journalbit so that the users's profile info is posted at the top, like their Join Date, Post Count, Age, etc. like xanga?

Thanatos
11-12-2004, 07:30 PM
I will also take the importer if it is ready.

FleaBag
11-12-2004, 08:11 PM
I'd be happy to take the raw SQL myself!

traderx
11-13-2004, 03:39 PM
Originally Posted by traderx
where can I find the images in psd format? i can send them to you if you want me too:)
Could you please send

AN-net
11-13-2004, 03:43 PM
Could you please send
oh yeah sry ill do it now:)

restless
11-13-2004, 09:31 PM
i already answered that question;)i'm sorry, i can't find your reply.

venomx
11-13-2004, 10:03 PM
So have all the small problems been fix with this for VB3.0.3?

kewl1uk
11-14-2004, 02:41 PM
So have all the small problems been fix with this for VB3.0.3?

It's useable with just a few little niggles, like in the Currently Active Users List on Forum Home I get "Unknown Location" when a member is in Journals. Also no VB Code buttons when posting so VB Code has to be entered manually - a big hassle for some members. Also, you have to rebuild all languages after adding the phrases during the install and you have to apply the temporary fix for Usergroup Permissions. But I installed it and it's working.

**clicks Install** Thank you for this mod.

AN-net
11-14-2004, 03:56 PM
So have all the small problems been fix with this for VB3.0.3?
yes basically all the problems that have been reported have been solved:)

restless
11-14-2004, 10:21 PM
well, i figured it out myself. maybe this is already posted somewhere, but i sure can't find it.

forgive me if this is old news:

if anyone wants to have the journal entries show the latest entry first, open up journal.php and find the following code: $fentries = $DB_site->query("
SELECT journal_entries.entry_id, journal_entries.entrytitle,
journal_entries.entrytext, journal_entries.mood, journal_entries.allowbuddies,journal_entries.entry date,
journal_entries.entry_totalvotes, journal_moods.mood_name, journal_entries.ipaddress,journal_moods.mood_image , journal_entries.entry_totalrating,
journal_entries.private, journal_entries.whocanview,
COUNT(journal_comments.comment_text) AS comments
FROM ".TABLE_PREFIX."journal_entries AS journal_entries
LEFT JOIN ".TABLE_PREFIX."journal_comments AS journal_comments ON (journal_entries.entry_id=journal_comments.entry_i d)
LEFT JOIN ".TABLE_PREFIX."journal_moods AS journal_moods ON (journal_moods.mood_id=journal_entries.mood)
WHERE journal_entries.journal_id='".$j."'
AND entry_active='1'
GROUP BY journal_entries.entry_id
ORDER BY entrydate ASC in the last line, change ASC to DESC

kewl1uk
11-14-2004, 10:42 PM
A problem arises with the actual URL accessed by someone in the Journals being shown in the Currently Active Users List: If the member in the Journals is posting, a member clicking on the URL in the Active Users List will either get a "No permission error ... attempting to edit another members post" or a "Database error ... duplicate entry". This is a possible security risk and should be solved rather quickly. For now I have disabled the Active Users List on my board.

Stylez
11-15-2004, 12: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();



where do we put this in?

AN-net
11-15-2004, 02:15 AM
where do we put this in?
use that for the file edit for /admincp/usergroup.php instead of the one provided in the install.txt

PixelFx
11-15-2004, 02:17 AM
Have you updated the download zip or should I wait a bit longer before trying this hack out? thanks for the hard work on the project :)

AN-net
11-15-2004, 02:57 AM
Have you updated the download zip or should I wait a bit longer before trying this hack out? thanks for the hard work on the project :)
the zip has been updated everytime i release a permanent fix:)

hkvic
11-15-2004, 10:07 AM
I have this working great on my forums - but one small problem.

When viewing the Journal index, and the list of journals - clicking on 'Last entry' link on a journal brings up the following error:

This entry either does not exist or has yet to be approved by a site administrator.

No moderation is in force on journals.

When hovering over the 'Last entry' link, the url is shown in the status bar as ....forums/journal.php?do=showentry&e=0

The journal entry can, however be viewed when clicking on 'Latest entries' links.

Any advice on this?

AN-net
11-15-2004, 04:29 PM
I have this working great on my forums - but one small problem.

When viewing the Journal index, and the list of journals - clicking on 'Last entry' link on a journal brings up the following error:



No moderation is in force on journals.

When hovering over the 'Last entry' link, the url is shown in the status bar as ....forums/journal.php?do=showentry&e=0

The journal entry can, however be viewed when clicking on 'Latest entries' links.

Any advice on this?
it seems not to be updating the table correctly..... is it for journals with 1 entry?

hkvic
11-15-2004, 04:38 PM
Thanks for the prompt reply.

It is happening for every journal, irrespective of how many entries.

I have guest viewing disabled at the moment but if looking at it would help, I can set you up with a temp membership.

spence2
11-15-2004, 09:05 PM
AN-net,

Congratulations on winning the Hack of the Month!

All of us appreciate your continued support and upgrades. You have truly been a wonderful example of a generous, creative and talented coder.

Thanks, again! :)

AN-net
11-15-2004, 09:06 PM
Thanks for the prompt reply.

It is happening for every journal, irrespective of how many entries.

I have guest viewing disabled at the moment but if looking at it would help, I can set you up with a temp membership.
i would not mind registering:)

contact me via my aim and ill try to solve this:D

Polo
11-15-2004, 10:09 PM
AN-net,

Congratulations on winning the Hack of the Month!

All of us appreciate your continued support and upgrades. You have truly been a wonderful example of a generous, creative and talented coder.

Thanks, again! :)

yeah, thank you AN-net, you are a great person :)

AN-net
11-15-2004, 10:29 PM
psds for images:)

not the best cause im a photoshop noob...

DjTaz
11-17-2004, 09:05 AM
Excellent Hack here - My members love it.

The one thing i have noticed is that the most recent post is the very last post in the journals - same as i have my boards setup. is it possible to change this for the journals ONLY ? I dont want to change the way the boards post, but i would like the Journals to have the most recent post displayed first when you go to someones Public Journal.

Thanks for this

AN-net
11-17-2004, 11:55 AM
Excellent Hack here - My members love it.

The one thing i have noticed is that the most recent post is the very last post in the journals - same as i have my boards setup. is it possible to change this for the journals ONLY ? I dont want to change the way the boards post, but i would like the Journals to have the most recent post displayed first when you go to someones Public Journal.

Thanks for this
look around the thread, many have posted how to do this:)

Thanatos
11-17-2004, 02:41 PM
look around the thread, many have posted how to do this:)
Hey AN-net, if you have the importer ready, can you post or send it via amil? I don't care about any kind of uninstall capability...I can do that manually if I ever have cause.

thanks.

Taliesin
11-17-2004, 04:41 PM
Hi, I've installed the hack with little trouble, but I have a small problem. The edit and delete buttons don't show up for me on other people's journals, and I am an admin. Any reason why this is so?

AN-net
11-17-2004, 04:45 PM
Hi, I've installed the hack with little trouble, but I have a small problem. The edit and delete buttons don't show up for me on other people's journals, and I am an admin. Any reason why this is so?
r the images broken? if so be sure to upload the images:)

if they dont show up at all be sure to check your usergroup permissions:)

Taliesin
11-17-2004, 06:12 PM
r the images broken? if so be sure to upload the images:)

if they dont show up at all be sure to check your usergroup permissions:)

The images don't show at all. You had said in a prior post somewhere that admins get Edit and Delete permission by default, did you not? Otherwise the permissions to edit other people's journals has not been implemented yet.

AN-net
11-17-2004, 06:33 PM
to my knowledge admins can edit and delete regardless of permissions...

hkvic
11-17-2004, 06:53 PM
i would not mind registering:)

contact me via my aim and ill try to solve this:D

Thanks very much.

I've looked at this again and it seems that some are displaying correctly and some are not. There doesn't appear to be any pattern that I can see, it just happens to random entries.

I'll aim you with the details.

Taliesin
11-17-2004, 08:15 PM
I've attached a screenie of a member's journal entry being viewed under my account, which as I said is admin. I dunno what's wrong with it. Someone posted something about multiple usergroups...but I'm only in the one usergroup.

I THINK it's only the images not showing that's the problem...give me the link that should work and I can test the theory.

AN-net
11-17-2004, 10:20 PM
Due to a possible problem with updating of the last journal entry field, i have created a new update system:)

upload and overwrite the old journal.php with this new one:) this not a neccessary fix but this is a better way of updating;)

I will update zip shortly:)

hkvic
11-17-2004, 10:27 PM
I just want to publicly thank you for sorting the problem I had and for providing the fix. Great work

restless
11-18-2004, 02:16 AM
first of all.. thanks for a GREAT hack. it is a huge success on my forums.

i do have a question, however...

i've had several users ask if it would be possible to have their livejournal or blogger feed into vbjournal through the rss feed (as opposed to actually using the vbjournal to write the entries). so many of my users want to have their journal entries on our forum, but don't want to stop using livejournal or copying it over every time.

would it be possible to hack it somehow so that a user can choose for their journal to be a rss feed of their livejournal or blogger, and they simply enter the rss url?

it would be a huge addition for us.

AN-net
11-18-2004, 02:28 AM
first of all.. thanks for a GREAT hack. it is a huge success on my forums.

i do have a question, however...

i've had several users ask if it would be possible to have their livejournal or blogger feed into vbjournal through the rss feed (as opposed to actually using the vbjournal to write the entries). so many of my users want to have their journal entries on our forum, but don't want to stop using livejournal or copying it over every time.

would it be possible to hack it somehow so that a user can choose for their journal to be a rss feed of their livejournal or blogger, and they simply enter the rss url?

it would be a huge addition for us.
ill look into this for version 2:)

restless
11-18-2004, 02:31 AM
sweeeeet....

AN-net
11-18-2004, 02:43 AM
just something i was wondering, is the rss for live journal a paid only feature cause im using the free live journal and i see no rss option.... if it is a paid feature to parse correctly ill need access to one:)

this is needed now but sometime in the future when i develop version 2;)

theArchitect
11-18-2004, 04:25 AM
After spending some time trying to get it working, I still cannot view the Status Icons in my Journal.

Instead of having the status icons next to the Journal entries I get the attached screen shot.

All the correct images are in the Images folder (and related styles folders).

Any assistance would be appreciated.

Dark Aura
11-18-2004, 10:34 AM
Would this hack work on VB 3.01.?

msimplay
11-18-2004, 03:01 PM
Would this hack work on VB 3.01.?
i have it working perfectly on 3.00 no reason why it wouldn't using 3.01

restless
11-18-2004, 07:09 PM
just something i was wondering, is the rss for live journal a paid only feature cause im using the free live journal and i see no rss option.... if it is a paid feature to parse correctly ill need access to one:)

this is needed now but sometime in the future when i develop version 2;)the rss feed for any livejournal is simply http://www.livejournal.com/users/username/data/rss

http://www.livejournal.com/support/faqbrowse.bml?faqid=149

JirQUEST
11-21-2004, 09:24 PM
alright, installed this wonderful addition to my forums... got 2 probs popping up after (not that i am complaining, but thought others might wanna know)...

first is the phrases... which was a problem with the usergroup section and when i was editing the moods, and second was the issue with the asc/desc of the latest topics.

but other than these 2 minor probs, the journal seems to work great! i love it! thanks so so much for this :D :D :D

blueuniverse
11-23-2004, 06:54 PM
When will the port install be available, I really want this mod.

Kagen
11-24-2004, 04:24 PM
ok i dont everything but edit the templates how do i fix permissions?

AN-net
11-24-2004, 10:44 PM
ok i dont everything but edit the templates how do i fix permissions?
permissions can be set in admincp and if your missing lines of words for the options see the first post;)

Lonny
11-24-2004, 11:16 PM
Couldn't find permission fix - those lines just don't show up and I just downloaded the zip and installed can you please let me know how to fix it I don't know where to place the yes and where to use the 'no' :)

AN-net
11-25-2004, 02:48 AM
Couldn't find permission fix - those lines just don't show up and I just downloaded the zip and installed can you please let me know how to fix it I don't know where to place the yes and where to use the 'no' :)
https://vborg.vbsupport.ru/showpost.php?p=553468&postcount=56
use that code instead of the code in the install.txt for editing /admincp/usergroup.php ;)

akiy
11-25-2004, 03:51 AM
AN-net.

What is the status of the importer from Ryangel's journal system to yours?

If it's far from completion, I'll see what I can do -- perhaps this weekend -- in writing a cross-port myself. I'm sure there are many people here, myself included, who have installed (and/or helped upgrade Ryangel's journal system to vb3 such as myself) who would like to use your system but are stuck in limbo due to your seeming reluctance to update us on the importer.

Are there any others here who might be willing to help out in writing an importer from Ryangel's journal system to AN-Net's?

I haven't looked at AN-Net's journal system so I don't know how its database structures are set up. I could be wrong, but I can't imagine it would be too difficult to write an importer...

???`S?LV?R???`
11-26-2004, 05:09 PM
I was noticing that when you select a mood it doesn't show a preview of what the icon looks like, I was wondering if someone could make it to where it shows a preview of the icon just like the regular post system works on vbulletin.

memobug
11-26-2004, 09:35 PM
AN-net.

What is the status of the importer from Ryangel's journal system to yours?

If it's far from completion, I'll see what I can do -- perhaps this weekend -- in writing a cross-port myself. I'm sure there are many people here, myself included, who have installed (and/or helped upgrade Ryangel's journal system to vb3 such as myself) who would like to use your system but are stuck in limbo due to your seeming reluctance to update us on the importer.

Are there any others here who might be willing to help out in writing an importer from Ryangel's journal system to AN-Net's?

I haven't looked at AN-Net's journal system so I don't know how its database structures are set up. I could be wrong, but I can't imagine it would be too difficult to write an importer...
I remember reading a couple weeks back - I thought - that the raw importer was all but done (https://vborg.vbsupport.ru/showpost.php?p=571469&postcount=525) and it was a matter of whether to include an uninstall feature. A number of people have requested it without the uninstall capability, but I don't know if anything has come of those requests?

Regards,

Matt

AN-net
11-26-2004, 10:38 PM
I was noticing that when you select a mood it doesn't show a preview of what the icon looks like, I was wondering if someone could make it to where it shows a preview of the icon just like the regular post system works on vbulletin.
due to the urgency to release the hack i did not have time to add all the frill or the lace to the hack. in version 2 i plan to accessorize and lace vb journal with nice cool features;)

???`S?LV?R???`
11-27-2004, 06:51 PM
when is version 2 gonna be release? or around when?

Zacharicus
11-27-2004, 11:45 PM
This looks great. Will this work for 3.0.1?

akiy
11-28-2004, 01:41 AM
I remember reading a couple weeks back - I thought - that the raw importer was all but done (https://vborg.vbsupport.ru/showpost.php?p=571469&postcount=525) and it was a matter of whether to include an uninstall feature. A number of people have requested it without the uninstall capability, but I don't know if anything has come of those requests? Yes, I remember reading that. However, it seems like AN-Net has been very reluctant to talk about said importer since. He seems to have ignored my questions that I posted above, too, which is disappointing.

So, I'll ask once again:

AN-Net:

What is the status of the importer from Ryangel's journal system to yours?

Zacharicus
11-28-2004, 02:02 AM
Awesome. Its installed and works like a charm. Thanks a lot.

AN-net
11-28-2004, 02:37 AM
Yes, I remember reading that. However, it seems like AN-Net has been very reluctant to talk about said importer since. He seems to have ignored my questions that I posted above, too, which is disappointing.

So, I'll ask once again:

AN-Net:

What is the status of the importer from Ryangel's journal system to yours?
i am very busy right and have had no time to finish my importer... hopefully i will regain such time as to finish the importer:)

AN-net
11-28-2004, 02:42 AM
when is version 2 gonna be release? or around when?
as i said above i got no time right now and just for some information i have yet to even start version 2 and im in the planning stages of it. so im not gonna say when;)

akiy
11-28-2004, 02:47 AM
i am very busy right and have had no time to finish my importer... hopefully i will regain such time as to finish the importer:) Can you please send me what you have so far? I'll PM you with my e-mail address.

Jaxx
11-28-2004, 06:01 AM
Has anyone figured out how to get it to count towards the post count?

AN-net
11-28-2004, 02:43 PM
Has anyone figured out how to get it to count towards the post count?
just edit the insertjournal and insertentry php code in file where the sql queries are run:)

add a new query that adds +1 to their postcount;)

and then in deletejournalentry just add a new sql query that -1 from their postcount:D

akiy
11-28-2004, 05:20 PM
Can you please send me what you have so far? I'll PM you with my e-mail address. PM sent. Receipt confirmed. Nothing received (yet).

I worked out last night what I think is pretty much everything I need to import what I have from the Ryangel journal system to AN-Net's, at least in theory. In this present absence of any help from AN-Net, I'll see what I can do...

AN-net
11-28-2004, 06:30 PM
PM sent. Receipt confirmed. Nothing received (yet).

I worked out last night what I think is pretty much everything I need to import what I have from the Ryangel journal system to AN-Net's, at least in theory. In this present absence of any help from AN-Net, I'll see what I can do...
i would like to finish on my own, hopefully ill beta test it soon

kall
11-28-2004, 09:56 PM
as i said above i got no time right now and just for some information i have yet to even start version 2 and im in the planning stages of it. so im not gonna say when;)
Here's a bit of an issue..on a fixed width style, if a person's entry title is too long, it stretches the page waaay out of whack.

Is there a way to truncate entry titles?

Jaxx
11-29-2004, 04:15 AM
just edit the insertjournal and insertentry php code in file where the sql queries are run:)

add a new query that adds +1 to their postcount;)

and then in deletejournalentry just add a new sql query that -1 from their postcount:D


*brainmelt*

Thanks.

SQL = scary :p

I'm not all that great with it, still learning a bit. I'll muck around with it.

Lord Brar
11-29-2004, 01:20 PM
Can someone do me a favor.... I talked to AN-net about a problem I am having with phrases NOT showing up in usergroup permission management area (http://www.animationation.net/community/showthread.php?t=1082)...

http://www.picvault.info/images/12836_blog-problem.gif

No problem, I can bear it till the time AN-Net makes the fix if someone can do me this lil favor...

can someone copy and paste here the order in which those phrases apprear [from you own install] so that I can make out what permission I am clicking on!!! I can manage the rest if I know the missing phrases and the order in which they appear! [I could not find a screenshot of the permissions ]


Thanks a LOT! :)

Polo
11-29-2004, 05:59 PM
read the first post mrlb.com... this has been (temporarly) fixed :)

Polo
11-29-2004, 07:10 PM
Is there a way to make the journals in journal.php show by default in the following order

Last entrie's date sort by descending

it can be done directly by pointing to journal.php?sort=lastentry_date&order=DESC but I wan to go to journal.php and appear by defaul like that...

hope someone can help me...

akiy
11-29-2004, 07:25 PM
I worked out last night what I think is pretty much everything I need to import what I have from the Ryangel journal system to AN-Net's, at least in theory. In this present absence of any help from AN-Net, I'll see what I can do...
I finished putting together an importer of sorts. It's totally bare-bones, but it seems to work in importing the journals, the journal entries, and journal comments from Ryangel's vb3 journal system (which used to be on everythingvb.com and is now on vbhacks.us) to AN-Net's current system (as of 1.0.0, November 29th, 2004). Note: this importer is for the vb3 version of Ryangel's journal system, namely the version which I personally released back on everythingvb.com. I didn't follow the changes that occurred after that so there may be features (eg mood, now playing) that newer releases of that software may have added that won't be imported using this importer.

I have personally used this importer successfully on my test server.

In order to use this importer, you'll have to take into account that due to AN-Net's using the same names for some of the tables and templates, this is most likely a one-way import unless you back up your database and export your styles/phrases. I'm guessing that most folks who installed Ryangel's system are pretty competent hackers, so you should be able to go back if the importer fails. Nonetheless, I'll state here: CAVEAT/WARNING: I will not take any responsibility for any damage done to your system through the use of this importer. That said, I'll once again state that "it works for me."

The steps that this importer takes you through are the following:

1. Rename old Ryangel journal tables (importer can do this)
2. Install AN-Net's journal system (a manual step (ie you have to do this yourself))
3. Clear AN-Net journals/journal_entries/journal_comments tables (importer can do this)
4. Import journals (importer does this)
5. Import comments (importer does this)
6. Import entries (importer does this)

If you're interested in testing this out (even with the scary caveat above!), please PM me with your e-mail address and I'll send it out to you.

Lord Brar
11-30-2004, 10:09 AM
read the first post mrlb.com... this has been (temporarly) fixed :)
Polo, that fix did not work for me :P

Polo
11-30-2004, 03:44 PM
Polo, that fix did not work for me :P

Really? that worked for me... are you still having the same original problem?

AN-net
11-30-2004, 04:33 PM
Polo, that fix did not work for me :P
did you try this fix?
https://vborg.vbsupport.ru/showpost.php?p=553468&postcount=56

docvader
12-01-2004, 01:52 AM
Didn't work for me either. Same error, permission problems, despite a meticulous install and performing those error revisions from the first page. Where do you install this? https://vborg.vbsupport.ru/show...68&postcount=56
Too many files for me to remember...
(Nice hack by the way, really can't wait to get it working.

AN-net
12-01-2004, 10:15 AM
Didn't work for me either. Same error, permission problems, despite a meticulous install and performing those error revisions from the first page. Where do you install this? https://vborg.vbsupport.ru/show...68&postcount=56
Too many files for me to remember...
(Nice hack by the way, really can't wait to get it working.
that fix is used in the edit for /admincp/usergroup.php instead of the one found in install.txt

smdani
12-02-2004, 11:54 AM
This hack is GREAT!
Waiting impaciently for v.2!!!
:)

gnawph
12-03-2004, 03:48 AM
usergroup.php query not working

here is my error:

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 = '80',
avatarmaxheight = '80',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
canviewjournal = '1',
canhavejournal = '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',
articlepermissions = '4095'
WHERE usergroupid=6
mysql error: Unknown column 'canviewjournal' in 'field list'

mysql error number: 1054

Date: Friday 03rd of December 2004 12:45:11 AM
Script: http://www.bloodgulch.com/forum/admincp/usergroup.php
Referer: http://www.bloodgulch.com/forum/admincp/usergroup.php?s=&do=edit&usergroupid=6
Username: nof
IP Address: 24.90.55.204


I looked in the database and found that none of the canview'journal' fields where updated. I just installed and downloaded this yesterday. Not sure what the problem could be.

AN-net
12-03-2004, 04:16 AM
usergroup.php query not working

here is my error:

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 = '80',
avatarmaxheight = '80',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
canviewjournal = '1',
canhavejournal = '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',
articlepermissions = '4095'
WHERE usergroupid=6
mysql error: Unknown column 'canviewjournal' in 'field list'

mysql error number: 1054

Date: Friday 03rd of December 2004 12:45:11 AM
Script: http://www.bloodgulch.com/forum/admincp/usergroup.php
Referer: http://www.bloodgulch.com/forum/admincp/usergroup.php?s=&do=edit&usergroupid=6
Username: nof
IP Address: 24.90.55.204


I looked in the database and found that none of the canview'journal' fields where updated. I just installed and downloaded this yesterday. Not sure what the problem could be.
make sure all edits were done correctly including usergroup.php and init.php:) also make sure the journalpermissions field is in usergrouppermissions table;)

gnawph
12-03-2004, 12:45 PM
Thanks! :)

My bad, I did the install last night and didn't update all my changed files.

Now I'm having a problem on journal.php when I start my journal for the first time:

Parse error: parse error, unexpected '\"', expecting ']' in /home/bloodgu/public_html/forum/journal.php(778) : eval()'d code on line 43

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/bloodgu/public_html/forum/journal.php(818) : eval()'d code on line 276

smdani
12-03-2004, 08:59 PM
Hi An-Net!
is it possible to add the possibility of attach files to posts in journal?
Thanks in advance!

heynurse
12-04-2004, 07:29 PM
This is going to sound real stupid.... but...For some reason, I cannot find where I need to modify my usergroup settings for this hack. It seems as though I followed all the install directions (I think :) )

I see the section in the admincp for vb Journal, but no settings for usergroup settings? right now, all my usergroups get an no access error message, even me the admin?

Where exactly do I find that section? I didn't see the location in the instructions anywhere?

Thanks in advance!

heynurse
12-04-2004, 07:43 PM
No... how do I go about doing this.... with Journal or with vb's permissions
How did you update your permissions? I'm having the same problem?

AN-net
12-04-2004, 11:07 PM
Hi An-Net!
is it possible to add the possibility of attach files to posts in journal?
Thanks in advance!
attachments will be possible in version 2;)

AN-net
12-04-2004, 11:08 PM
This is going to sound real stupid.... but...For some reason, I cannot find where I need to modify my usergroup settings for this hack. It seems as though I followed all the install directions (I think :) )

I see the section in the admincp for vb Journal, but no settings for usergroup settings? right now, all my usergroups get an no access error message, even me the admin?

Where exactly do I find that section? I didn't see the location in the instructions anywhere?

Thanks in advance!
the edit for /adimcp/usergroup.php is in the install file:)

heynurse
12-05-2004, 05:45 PM
Doh! Thanks AN-net

Megareus Rex
12-05-2004, 11:22 PM
Ok, I have a small problem. When a user submits a new journal entry, the Mood they chose doesn't show up. The only way to get it to show is to edit the entry, and re-choose the mood (in which case it works).

Any ideas? Could I have messed up the php somewhere? Other than that, it works perfectly.

AN-net
12-06-2004, 12:47 AM
Ok, I have a small problem. When a user submits a new journal entry, the Mood they chose doesn't show up. The only way to get it to show is to edit the entry, and re-choose the mood (in which case it works).

Any ideas? Could I have messed up the php somewhere? Other than that, it works perfectly.
this was fixed in an updated journal.php file;)

smdani
12-06-2004, 09:05 AM
attachments will be possible in version 2;)
it will be necessary to delete vbJournal v1 in order to install vBjournal 2?
or
it will be an update?

It is caused if it is necesary to uninstall vbJournal 1 I prefered to unistall it and dont let users use it and wait for v 2.

Do you calculate when it will be realeased?

Only a suggest:
I prefer 'Blog' to 'Journal', it is more familiar for our users. Maybe v2 could add an option to change name easily. Actualy I had to modify it by hand in all styles and files.

Thanks again AN-Net

gnawph
12-06-2004, 09:44 PM
I'm still getting this error:

Parse error: parse error, unexpected '\"', expecting ']' in /home/bloodgu/public_html/forum/journal.php(777) : eval()'d code on line 43

Parse error: parse error, unexpected '\"', expecting ']' in /home/bloodgu/public_html/forum/journal.php(777) : eval()'d code on line 43

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/bloodgu/public_html/forum/journal.php(817) : eval()'d code on line 276

Is this a problem in my templates?

AN-net
12-06-2004, 10:03 PM
it will be necessary to delete vbJournal v1 in order to install vBjournal 2?
or
it will be an update?

It is caused if it is necesary to uninstall vbJournal 1 I prefered to unistall it and dont let users use it and wait for v 2.

Do you calculate when it will be realeased?

Only a suggest:
I prefer 'Blog' to 'Journal', it is more familiar for our users. Maybe v2 could add an option to change name easily. Actualy I had to modify it by hand in all styles and files.

Thanks again AN-Net
well you will have to overwrite the old vb journal files but there will be an upgrader script and txt of course:)

well version 2 will be completely phrased so it should not be too hard to change, as for a date ill say i havent even started it yet and i dont plan to start it soon due to school etc.

Megareus Rex
12-07-2004, 04:09 AM
this was fixed in an updated journal.php file;)
Thanks for the help! It worked :)

gmarik
12-07-2004, 08:40 PM
Oh, at last it's done. Hase FireFly his as well?

MotoUp
12-10-2004, 07:44 PM
I just did the install, and everything said it was successful, but I don't see the vbjournal in admincp, and i did all the template creations...any suggestions?

AN-net
12-11-2004, 02:00 AM
I just did the install, and everything said it was successful, but I don't see the vbjournal in admincp, and i did all the template creations...any suggestions?
did you edit /admincp/index.php and upload it?

blueuniverse
12-11-2004, 12:42 PM
-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

Any update on this? Did I miss something in the previous 10 or so pages, since I last posted about it, or has it not been done yet?

MotoUp
12-11-2004, 04:23 PM
Ok, I got it working, very slick. I like it :D Has anyone ever installed it that's running CPMS? For some reason the journal link on the portal page doesn't work, it doesn't have the /forums in the directory...but once inside the forums, it works fine...

FleaBag
12-11-2004, 08:43 PM
Anyone have the basic table modifications to get the other journal converted to this one?

uae
12-12-2004, 04:23 PM
Great Job,

I just found a bug!

If you go to http://www.yoursite.net/yourforum/journal.php?do=addentry&j=XXXXX

xxxxx = none existing journal id, while browsing as a guest, you'll be able to post an entry, which shouldn't happen!!


Even tho I have set vBJournal Premissions for usergroup (1) Unregistered / Not Logged In, not to have journal!

Paul M
12-12-2004, 05:58 PM
Great Job,

I just found a bug!

If you go to http://www.yoursite.net/yourforum/journal.php?do=addentry&j=XXXXX

xxxxx = none existing journal id, while browsing as a guest, you'll be able to post an entry, which shouldn't happen!!


Even tho I have set vBJournal Premissions for usergroup (1) Unregistered / Not Logged In, not to have journal!Yep - one of many security holes I plugged on my site.

In journal.php

Find ;

if($check['journalist_id']!=$checkid)

and replace it with ;

if(($check['journalist_id']!=$checkid) or $checkid == 0)

:)

AN-net
12-12-2004, 09:52 PM
well if i was informed of such security holes i would have fixed them:)

docvader
12-12-2004, 10:01 PM
Yep - one of many security holes I plugged on my site.

Find ;

if($check['journalist_id']!=$checkid)

and replace it with ;

if(($check['journalist_id']!=$checkid) or $checkid == 0)

:)
forgive me, but I've been doing far too many hacks. I can't remember what file we should find this change in. Where did this go again??

Thanks!

lazee
12-12-2004, 10:42 PM
forgive me, but I've been doing far too many hacks. I can't remember what file we should find this change in. Where did this go again??

Thanks!
Edit file "journal.php"

Paul M
12-13-2004, 12:39 AM
well if i was informed of such security holes i would have fixed them:)I'm sure you would. :up:


Here are three I mentioned a while ago ;

https://vborg.vbsupport.ru/showpost.php?p=562179


and in case you missed it, another one I mentioned is here ;

https://vborg.vbsupport.ru/showpost.php?p=567736

:)

???`S?LV?R???`
12-13-2004, 05:04 AM
I'm sure you would. :up:


Here are three I mentioned a while ago ;

https://vborg.vbsupport.ru/showpost.php?p=562179


and in case you missed it, another one I mentioned is here ;

https://vborg.vbsupport.ru/showpost.php?p=567736

:)

Has AN-net updated the journal.php with those 2 fixes yet?

AN-net
12-13-2004, 06:58 PM
Ok this should fix some of guest loop holes in vB Journal, the other fixes proposed by PaulM i will be fixing;)

please upload and overwrite the old journal.php file with this one:)

MotoUp
12-14-2004, 03:10 PM
Excellent hack An-Net, thanks a ton...

I have one suggestion...Brian over at vBAdvanced helped me out with this..

For anyone that wants to make the change, edit your navbar template.

Replace:
<td class="vbmenu_option"><a href="journal.php">Journal Index</a></td>
</tr>
<if condition="$bbuserinfo!=0">
<tr>
<td class="vbmenu_option"><a href="journal.php?do=gotomyjournal">My Journal</a></td>

With:
<td class="vbmenu_option"><a href="$vboptions[bburl]/journal.php">Journal Index</a></td>
</tr>
<if condition="$bbuserinfo!=0">
<tr>
<td class="vbmenu_option"><a href="$vboptions[bburl]/journal.php?do=gotomyjournal">My Journal</a></td>

This fixes the links if people are using the vBAdvanced CPMS portal.

Thanatos
12-14-2004, 06:18 PM
um there arent that many errors no need for this to be a beta release


i dont see y it is doing that because the templates work fine on mine and we copied directly from sites working templates....
Is there a way to change the sql statement in journal.php so that it does not increment the view counter when the actual owner of the journal views his own journal?

can someone post what that modification would be please?

Thanks.

pablo
12-14-2004, 08:15 PM
in my usergroup permission listing i have the following (sorry about it being a .bmp but that is all I have available at the moment).

i did run the bug fix here , but it remained the same .

https://vborg.vbsupport.ru/showpost.php?p=553319&postcount=36

Flexo
12-14-2004, 08:23 PM
A more general question, maybe this was answered before, but I?m too lazy to read 44 pages ;)

When the next version of vBulletin comes out, will you provide update scripts somewhere down the road?
I?m just asking because I just read something about a new version being in the works (which might be true most of the time, of course), so I?m just thinking if I should wait for that one to come out or not.

AN-net
12-15-2004, 01:54 AM
A more general question, maybe this was answered before, but I?m too lazy to read 44 pages ;)

When the next version of vBulletin comes out, will you provide update scripts somewhere down the road?
I?m just asking because I just read something about a new version being in the works (which might be true most of the time, of course), so I?m just thinking if I should wait for that one to come out or not.
yes when the new version is released i will update vb journal(may take awhile if they are going to redo vb using OOP but i will update it)

AN-net
12-15-2004, 01:55 AM
in my usergroup permission listing i have the following (sorry about it being a .bmp but that is all I have available at the moment).

i did run the bug fix here , but it remained the same .

https://vborg.vbsupport.ru/showpost.php?p=553319&postcount=36
see the other fix in the first post that is stated a temporary fix

Flexo
12-15-2004, 08:32 AM
yes when the new version is released i will update vb journal(may take awhile if they are going to redo vb using OOP but i will update it)

Great, thanks :)

pablo
12-15-2004, 02:46 PM
cheers all happily installed now.
is there a way I can display some of the journal stuff in the postbit
along the lines of this : http://www.boards.ie/vbulletin/showpost.php?p=2189770&postcount=6

i would alos like to be able to disable the rating of journals as sometimes people can be over mean

AN-net
12-15-2004, 04:34 PM
cheers all happily installed now.
is there a way I can display some of the journal stuff in the postbit
along the lines of this : http://www.boards.ie/vbulletin/showpost.php?p=2189770&postcount=6

i would alos like to be able to disable the rating of journals as sometimes people can be over mean
in version 2 there will be more end user options but as for displaying info in postbit, then you must edit the query that is used in /includes/functions_showthread.php

AlienSector
12-16-2004, 03:58 AM
in version 2 there will be more end user options but as for displaying info in postbit, then you must edit the query that is used in /includes/functions_showthread.php
While this may the more obvious, I didn't see it when I browsed over a few pages of this thread. The journal entries are listed from old to new, just as the posts in the forum are, when it would appear they should be new to old (i.e. the newest entry on top, with previous ones following).

How would I attain this?

philos
12-16-2004, 08:26 AM
i found the journal.php at line 1486

LEFT JOIN ".TABLE_PREFIX."journal_moods AS journal_moodsON (journal_entries.mood=journal_moods.mood_id)

it is right ?

my english is so poor, sorry!!

AN-net
12-16-2004, 09:00 AM
While this may the more obvious, I didn't see it when I browsed over a few pages of this thread. The journal entries are listed from old to new, just as the posts in the forum are, when it would appear they should be new to old (i.e. the newest entry on top, with previous ones following).

How would I attain this?
it was mentioned somewhere in thread don't know where but later today if i have time i will try to find it for you;)

AN-net
12-16-2004, 09:01 AM
i found the journal.php at line 1486

LEFT JOIN ".TABLE_PREFIX."journal_moods AS journal_moodsON (journal_entries.mood=journal_moods.mood_id)

it is right ?

my english is so poor, sorry!!
you must be using an old version as that was fixed in a update a while back;)

AlienSector
12-17-2004, 03:37 AM
it was mentioned somewhere in thread don't know where but later today if i have time i will try to find it for you;)

Post referenced :)

https://vborg.vbsupport.ru/showpost.php?p=572482&postcount=552

SoloX
12-18-2004, 09:27 PM
Why would some of the text be missing from my CP?

Thanks

AN-net
12-18-2004, 09:56 PM
Why would some of the text be missing from my CP?

Thanks
its stated as a temporary fix under updates/fixes

SoloX
12-18-2004, 10:20 PM
Thanks for the quick reply An .... But I downloaded the zip a few hours ago and almost all fixes mention that the zip file is updated .. anyway .. i tried to find the exact fix for my problem, could not find it .. please help ...

Deska
12-23-2004, 11:02 AM
But I downloaded the zip a few hours ago and almost all fixes mention that the zip file is updated .. anyway .. i tried to find the exact fix for my problem, could not find it .. please help ...

I got same problem.... :(:(

AN-net
12-23-2004, 04:59 PM
here is the fix: https://vborg.vbsupport.ru/showpost.php?p=553468&postcount=56

Infopro
12-26-2004, 05:24 PM
here is the fix: https://vborg.vbsupport.ru/showpost.php?p=553468&postcount=56

I'm not sure why you don't mention what file to edit instead of a link to what the edit is. But my guess would be you should. This same question has been asked too many times in this thread. ;)

AN-net
12-26-2004, 08:59 PM
I'm not sure why you don't mention what file to edit instead of a link to what the edit is. But my guess would be you should. This same question has been asked too many times in this thread. ;)
that is the /admincp/usergroup.php file edit;)

Infopro
12-27-2004, 01:47 AM
Care to add that to your first post?

Thanks AN-net . ;)

Flexo
12-29-2004, 08:13 PM
How about the post count? Will blog entries and comments increment the forum post count?

AN-net
12-29-2004, 10:01 PM
How about the post count? Will blog entries and comments increment the forum post count?
um not currently as i believe it will give the wrong impression and completely messup the vb system;)

Flexo
12-29-2004, 10:23 PM
Couldn´t that be configured in the Admin CP? It is an extra subforum, isn´t it? Then users (i.e. admins) could chose if they wanted it to increment the forum post count or not.


Well, the journal entries at least, if not the comments.

AN-net
12-30-2004, 12:08 AM
it would be a useless feature as is it could mess up parts of vB;)

Flexo
12-30-2004, 01:16 AM
Ah, coding-wise. (How exactly?)
I thought you meant, well, forum post count-wise, since blog-posts aren?t technically forum-posts ;)

AN-net
12-30-2004, 03:33 AM
Ah, coding-wise. (How exactly?)
I thought you meant, well, forum post count-wise, since blog-posts aren?t technically forum-posts ;)
yes it will mess up the count and mislead many. also this would require alot of editing of the files so it keeps up to date and correct

w0z
01-02-2005, 10:51 AM
Helo!

How is the new version progressing?

Is there any timeline when we could expect to have it delivered?

Thank you very much for this great Hack! I'm eagerly waiting next version to Install :)

Cheers,
woz

Flexo
01-02-2005, 04:10 PM
Ok, I installed it (just before noticing that vB 3.0.4 is out :angry: ), but I can´t go anywhere. When I want to access it, I get an error telling me that I don´t have permission.
I´m quite certain that it´s something obvious I´m just not seeing, but I can´t find the error.

Flexo
01-02-2005, 04:51 PM
Ok, I found where I can manage the permissions, but most of the fields are non descriptive, i.e. it just says

Yes No
Yes No

The only visible fields are "Can View Comments", "Can Edit Own Journal Entries" and "Can Delete Own Journal Entries".

AN-net
01-03-2005, 04:43 AM
Ok, I found where I can manage the permissions, but most of the fields are non descriptive, i.e. it just says

Yes No
Yes No



The only visible fields are "Can View Comments", "Can Edit Own Journal Entries" and "Can Delete Own Journal Entries".
use this for the edit in /admincp/usergroup.php
https://vborg.vbsupport.ru/showpost.php?p=553468&postcount=56

Flexo
01-03-2005, 09:57 AM
That did it, thanks :)

Candycane
01-03-2005, 06:06 PM
How do I remove the "quick reply" comments box under the user's journal and force others to use the text links (Comments (1)) to leave comments?

frage
01-03-2005, 06:23 PM
I can't find the error :-(
template:
journal_entrybits
<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>
eval()'d code on line 38

please help
thanks
frage

AN-net
01-03-2005, 06:46 PM
How do I remove the "quick reply" comments box under the user's journal and force others to use the text links (Comments (1)) to leave comments?
just simple remove that html code from the journal_journalpage template;)

paulz
01-03-2005, 08:09 PM
how do i fix this

screenshot enclosed

btw, this is a superb hack, everything went flawless for me 'cept this

vonedaddy
01-03-2005, 08:30 PM
Any idea when V2 will be out? I would hate to install v1 then v2 come out a day later! :) Also will it be easy to upgrade to v2 if I install this version?

AN-net
01-03-2005, 09:53 PM
how do i fix this

screenshot enclosed

btw, this is a superb hack, everything went flawless for me 'cept this
see a few posts above for fix;)

AN-net
01-03-2005, 09:54 PM
Any idea when V2 will be out? I would hate to install v1 then v2 come out a day later! :) Also will it be easy to upgrade to v2 if I install this version?
truthfully i havent even started it so dont even expect any time very soon;)

paulz
01-03-2005, 10:02 PM
see a few posts above for fix;)
whoops! lol thanks!

paulz
01-03-2005, 10:05 PM
actually, one more thing. does this hack use the forum's default sorting options? i'd like to have it sort by last entry first but not the rest of the forum...:)

AN-net
01-03-2005, 11:36 PM
actually, one more thing. does this hack use the forum's default sorting options? i'd like to have it sort by last entry first but not the rest of the forum...:)
it uses its own sorting you can simply change it by editing the journal.php file in the designated section;)

paulz
01-03-2005, 11:45 PM
<<<intimidated already :( i'm not good with code and i'm scared of breaking it lol

Flexo
01-04-2005, 02:59 PM
Has anyone tried it with 3.0.4 yet?

MotoUp
01-04-2005, 03:09 PM
I'm running 3.0.4 now, and it works great after doing the file edits again.

Flexo
01-04-2005, 03:25 PM
How did it work? You had a 3.0.3 with the journal-mod and just ran the upgrade to 3.0.4 and did the journal-file-edits again?
What about the templates?

MotoUp
01-04-2005, 03:28 PM
That's exactly what I did. I didn't have to do anything with the templates, they weren't changed at all.

TTG
01-04-2005, 04:09 PM
Has anyone tried it with 3.0.4 yet?

Upgraded to 3.0.4 yesterday and it created no problems with the journal :)

Flexo
01-04-2005, 05:46 PM
Yep, looks good. Did the upgrade, applied the file edits again and so far it seems to work :)

smdani
01-06-2005, 12:48 PM
How can I show last Journal's updated when a user clic on 'New Messages'?
That's why Journals are very hidden, and users use to look for new messages by looking for last updated threads.
Thanks a lot! It is a good hack!

smdani
01-06-2005, 12:49 PM
One more question,
is it easy to add a WYSIWYG editor?

Thanks again

agiacosa
01-06-2005, 02:24 PM
Installed well and seems to work but some of the items are missing in the admincp. I've attached an image. What could be wrong?

agiacosa
01-06-2005, 02:30 PM
Also, I have no moods. Where can I get them?

AN-net
01-06-2005, 04:51 PM
Installed well and seems to work but some of the items are missing in the admincp. I've attached an image. What could be wrong?
this has already been answered please look up a few posts;)

AN-net
01-06-2005, 04:52 PM
Also, I have no moods. Where can I get them?
you can add moods via admincp and you can just regular smilies for moods;)

Forum-Style
01-07-2005, 05:37 PM
Is it possible for a zip file with the latest files, i download the first post one, but ended up with errors when installing, i love to have this running, but had to remove it due to to many errors, maybe also as i do have a few mods installed so could well be one of them not liking it.

AN-net
01-07-2005, 11:44 PM
Is it possible for a zip file with the latest files, i download the first post one, but ended up with errors when installing, i love to have this running, but had to remove it due to to many errors, maybe also as i do have a few mods installed so could well be one of them not liking it.
the zip is the most current version of the files:)

blueuniverse
01-09-2005, 04:36 PM
Any news on the port?

Boh
01-09-2005, 10:02 PM
I get this when trying to look at "My Journal" from the navbar or anywhere.... I am the first journal so when I go to

http://www.zeldaphoenix.com/forums/journal.php?do=showjournal&j=1

it works fine.... hmm

http://www.zeldaphoenix.com/forums/journal.php?do=gotomyjournal

is what gives me trouble....

Fatal error: Call to undefined function: exec_header_redirect() in /blahblahblahblah/forums/journal.php on line 1661

I have all of the templates required... there was one file edit I couldn't do... it was for profile.php

Find:
if ($_POST['do'] == 'doremovelist')
{
globalize($_POST, array('userlist' => STR, 'userid' => INT));

if ($userlist != 'buddy')
------------------------------
Replace with:
if ($_POST['do'] == 'doremovelist')
{
globalize($_POST, array('userlist' => STR, 'userid' => INT));

if (($userlist != 'buddy') AND ($userlist != 'jbuddy'))

but I don't think this is what the problem is.... bah

AN-net
01-09-2005, 10:54 PM
I get this when trying to look at "My Journal" from the navbar or anywhere.... I am the first journal so when I go to

http://www.zeldaphoenix.com/forums/journal.php?do=showjournal&j=1

it works fine.... hmm

http://www.zeldaphoenix.com/forums/journal.php?do=gotomyjournal

is what gives me trouble....

Fatal error: Call to undefined function: exec_header_redirect() in /blahblahblahblah/forums/journal.php on line 1661

I have all of the templates required... there was one file edit I couldn't do... it was for profile.php



but I don't think this is what the problem is.... bah
hmmm check your functions.php file and the other includes file. this is a vb defined function and an error in the file could cause the function not to exist

Boh
01-09-2005, 11:33 PM
Checked all of the file edits... and they are intact.... I am using 3.0.0 and the install file says


*USE THE EDIT ABOVE FOR /INCLUDES/FUNCTIONs.PHP IF YOUR USING vB 3.0.3*

*IF YOUR USING vB3.0.1 USE THE EDIT BELOW FOR /INCLUDES/FUNCTIONS.PHP*

-------------------------------
Open: /includes/functions.php
-------------------------------


And then nothing else.... so uh.... I just used the edits from above for 3.0.3.......

AN-net
01-10-2005, 12:03 AM
Checked all of the file edits... and they are intact.... I am using 3.0.0 and the install file says



And then nothing else.... so uh.... I just used the edits from above for 3.0.3.......
yeah i have to remove that, it was an end untied with a susposed issue with the sessions table

still check to see if you can find the exec_header_redirect() function

Boh
01-10-2005, 12:16 AM
Ahhh sorry... I just said screw it, ++++canned everything and installed 3.0.3... turns out I was using 3.0.0 Gamma... hahaha

AN-net
01-10-2005, 02:33 AM
Ahhh sorry... I just said screw it, ++++canned everything and installed 3.0.3... turns out I was using 3.0.0 Gamma... hahaha
that could explain the function being none existant lol, im happy you fixed it though;)

DrkFusion
01-10-2005, 02:40 AM
Hey good one here, just got around to fooling around with this. The code needs a bit of optimization. Xenon could probably help you with that one lol...good one. With a bit of optimization and customization, its working super fast and super amazing!

Great job.

AN-net
01-10-2005, 03:34 AM
Hey good one here, just got around to fooling around with this. The code needs a bit of optimization. Xenon could probably help you with that one lol...good one. With a bit of optimization and customization, its working super fast and super amazing!

Great job.
if you would like to drop me a pm on some parts you think need optimization(this is the first version too so i there is bound to be some rough code;) ) but i am willing to optimize it:)

PixelFx
01-10-2005, 07:32 AM
does this work with vb3.0.5? :)

Paul M
01-10-2005, 10:28 AM
does this work with vb3.0.5? :)Yes.

WhiteOx2
01-11-2005, 05:57 AM
Anyone know how to fix this db error?

Database error in vBulletin 3.0.5:

Invalid SQL: SELECT journal_entries.entrytext,journal_entries.entrytit le,
journal_entries.entrydate,journal_entries.entry_id ,journal_entries.journal_id,jo urnals.journalist,journals.journalist_id,
journals.journalname,mood_name AS mood,mood_image AS moodimg FROM journals AS journals
LEFT JOIN journal_entries AS journal_entries ON (journals.journal_id=journal_entries.journal_id)
LEFT JOIN journal_moods AS journal_moodsON (journal_entries.mood=journal_moods.mood_id)
WHERE journal_entries.entry_active='1' AND journal_entries.private!='1' AND journals.journalist_id='kayne'
ORDER BY entrytitle ASC
LIMIT 0,15

mysql error: You have an error in your SQL syntax near '(journal_entries.mood=journal_moods.mood_id)
WHERE journal_entries.entry_a' at line 5

mysql error number: 1064

rlamego
01-11-2005, 07:59 AM
This is a great hack but installation is a PITA! =(
This needs a proper installer at least for all of those new templates!

ramax
01-11-2005, 12:04 PM
Congratulation for this hack ! :D

scuse my bad english , im french

i juste want know how when is possible to display an image across the text with an upload fonction ? anyone can make this modification for me ? ( I can in exchange render a service to you, im designer and i can make vbstyle )

Thanks at the vb comunity to create mod and hacks for " no php expers " :p

regards

AN-net
01-11-2005, 04:32 PM
Congratulation for this hack ! :D

scuse my bad english , im french

i juste want know how when is possible to display an image across the text with an upload fonction ? anyone can make this modification for me ? ( I can in exchange render a service to you, im designer and i can make vbstyle )

Thanks at the vb comunity to create mod and hacks for " no php expers " :p

regards
you mean a journal banner?

ramax
01-11-2005, 07:07 PM
thanhs for you reply

i dont want a journal banner i just want a blog :D

I will like that my member can put a photograph or an image in one their articles

like : http://tamilgirl21.skyblog.com/

AN-net
01-11-2005, 08:16 PM
thanhs for you reply

i dont want a journal banner i just want a blog :D

I will like that my member can put a photograph or an image in one their articles

like : http://tamilgirl21.skyblog.com/
they can do this simply by using [img] tags but in the next version attachments will be possible:)

ramax
01-12-2005, 08:33 PM
thanks , a wait the new version , do you have an idea of the date ? :D can i be a beta tester ? :D

AN-net
01-12-2005, 08:42 PM
thanks , a wait the new version , do you have an idea of the date ? :D can i be a beta tester ? :D
no date yet and i havent even started it yet and there may be a public and there may not...

Boh
01-13-2005, 09:56 AM
Ahhh sorry... I just said screw it, ++++canned everything and installed 3.0.3... turns out I was using 3.0.0 Gamma... hahaha

BTW thanks for your help

* Boh clicks install

Deviant++
01-14-2005, 09:35 AM
thanks , a wait the new version , do you have an idea of the date ? :D can i be a beta tester ? :D


Yeah, I'm interested to know whens the next version too :D

Nam
01-17-2005, 05:39 AM
Hello, I can't read all 49 pages so excuse me if this question has been asked before.

It is possible to make a journal page to be frontpage and have vbulletin powered in behind the journal? Not vbulletin in the front with vbadvanced and journal in the back.

AN-net
01-17-2005, 07:03 AM
Hello, I can't read all 49 pages so excuse me if this question has been asked before.

It is possible to make a journal page to be frontpage and have vbulletin powered in behind the journal? Not vbulletin in the front with vbadvanced and journal in the back.
i am not sure what you are asking...

Nam
01-17-2005, 08:24 AM
I'm sorry, I meant I want to make a dedicated journal page and not forum, so when visitors are visitting my page, they will see all the journal posts first.

I know I can redirect people to go to journal page first using simple php or html header, just wondering if there is a different way from script's end. Sorry for such a silly quesion.

AN-net
01-17-2005, 02:53 PM
I'm sorry, I meant I want to make a dedicated journal page and not forum, so when visitors are visitting my page, they will see all the journal posts first.

I know I can redirect people to go to journal page first using simple php or html header, just wondering if there is a different way from script's end. Sorry for such a silly quesion.
not unless you renamed the file and edited the file and edited the templates. another way to redirect is with cpanel where you can set it up that the domain always redirects to a page;)

blueuniverse
01-17-2005, 08:12 PM
Is there any chance of a journal upgrade script soon because I don't want to lose all the journal entries (approx. 5000) but I need to upgrade within the next week. Or any possible idea for when it will be around?

Underlab
01-18-2005, 05:04 AM
Installed Journal went through the million steps, and it seemed to install fine no errors, but i click on the Journal button on the navbar and it links to this
http://www.underlabstudios.com/photopost/#journalnavbar
But does not bring the menu down and does not open a page. WHAT GIVES?

Underlab
01-18-2005, 05:15 AM
ok left out this step on that one:
Find:
<!-- / NAVBAR POPUP MENUS -->
------------------------------
Underneath add:
<div class="vbmenu_popup" id="journalnavbar_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" align="center">Journal Links</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="journal.php">Journal Index</a></td>
</tr>
<if condition="$bbuserinfo!=0">
<tr>
<td class="vbmenu_option"><a href="journal.php?do=gotomyjournal">My Journal</a></td>
</tr>
</if>
</table>
</div>

Underlab
01-18-2005, 05:17 AM
but now users are getting this error:

underlab, you do not have permission to access this page. This could be due to one of several reasons:

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?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation

---------------------------------------------------------------------------------
vbJournal is active and everything is set to yes. Did I miss as step? Its 2:30 and ive been working all dal and night. Please cut me some slack.

Deviant++
01-18-2005, 10:59 AM
tried setting permissions from user group settings ?

FASherman
01-18-2005, 02:32 PM
but now users are getting this error:

underlab, you do not have permission to access this page. This could be due to one of several reasons:

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?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation

---------------------------------------------------------------------------------
vbJournal is active and everything is set to yes. Did I miss as step? Its 2:30 and ive been working all dal and night. Please cut me some slack.

Because your FTP program didn't upload files as executable. Change mod the executables to 755.

AN-net
01-18-2005, 04:38 PM
Is there any chance of a journal upgrade script soon because I don't want to lose all the journal entries (approx. 5000) but I need to upgrade within the next week. Or any possible idea for when it will be around?
um i have a crude bunch of queries which will do most of the converting;)

Osterling
01-18-2005, 10:36 PM
Alright.. trying to get this hack set up and working but not as easy as said. Anyways...

1.) I have a problem. When I go to my user group area to modify user groups premession it doesn't show all the options (to see a picture go to: http://www.exasko.info/usergroup.JPG)

2.) Once I allow a group to view the journal page it becomes a blank page.

3.) Also in my vBulletin Options there is no Journal listed but I still got to the setting page (admincp/journaladmin.php?do=settings) That is right, right?

Any help would be apperciated. (BTW: I am running on vb. 3.0.5

AN-net
01-19-2005, 01:41 AM
Alright.. trying to get this hack set up and working but not as easy as said. Anyways...

1.) I have a problem. When I go to my user group area to modify user groups premession it doesn't show all the options (to see a picture go to: http://www.exasko.info/usergroup.JPG)

2.) Once I allow a group to view the journal page it becomes a blank page.

3.) Also in my vBulletin Options there is no Journal listed but I still got to the setting page (admincp/journaladmin.php?do=settings) That is right, right?

Any help would be apperciated. (BTW: I am running on vb. 3.0.5
i replied to you over at my site: http://www.animationation.net/community/showpost.php?p=6957&postcount=2

and here is the fix i mentioned: https://vborg.vbsupport.ru/showpost.php?p=553468&postcount=56 its for the /admincp/usergroup.php file

Deviant++
01-19-2005, 11:18 AM
whens the approx date for update to this mod ? cause im thinking of waiting out till then :)

AN-net
01-19-2005, 05:10 PM
whens the approx date for update to this mod ? cause im thinking of waiting out till then :)
update?
u mean version 2? That has yet to be started and a date of release can not yet even be drawn:)

Toky0
01-19-2005, 08:58 PM
I'm having a problem. I'm running 3.0.5 I tried to set user permissions and i get this error.

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /www/d/darkmasta/htdocs/forum/admincp/usergroup.php on line 139

Toky0
01-19-2005, 10:26 PM
Sorry to double post. The above error was PHP I believe. And I just got the following error being MySQL.

Database error in vBulletin 3.0.5:

Invalid SQL: SELECT journal_id,journaldesc FROM journals
WHERE journalist_id='3'

mysql error: Table 'battlegroundscom.journals' doesn't exist

mysql error number: 1146

AN-net
01-20-2005, 03:50 AM
toky0 i responded to you over at my site:)

FleaBag
01-20-2005, 07:19 PM
Sorry to be lazy, but has the sql port from the other journal hack been issued yet?

AN-net
01-20-2005, 08:50 PM
Sorry to be lazy, but has the sql port from the other journal hack been issued yet?
let me look over it this weekend to make sure i did it right:)

then i will release on how to acquire it;)

FleaBag
01-20-2005, 10:10 PM
You are very kind, thanks. :)

Deviant++
01-21-2005, 07:58 AM
can someone tell me why its like this in my acp ?

and though the mod works fine.. and this seems like a small bug somewhere..

can someone tell me what those fields are so I can still use em please..

AN-net
01-21-2005, 05:07 PM
can someone tell me why its like this in my acp ?

and though the mod works fine.. and this seems like a small bug somewhere..

can someone tell me what those fields are so I can still use em please..
try searching the thread, ive answered this over 20 times:D

PixelFx
01-22-2005, 10:59 AM
how well does this run on vb3.0.6?

Paul M
01-22-2005, 11:28 AM
how well does this run on vb3.0.6?As well as on 3.0.5, 3.0.4 & 3.0.3 - there is no difference between them as far as this hack is concerned.

KenakaBatman
01-22-2005, 11:47 AM
SELECT user.*,usertextfield.*,userfield.*, user.userid, journals.journal_id,

I'm getting an error when trying to access the memberlist.

Invalid SQL:
SELECT user.*,usertextfield.*,userfield.*, user.userid, journals.journal_id, options,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid

,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline

, lastactivity AS lastvisittime

FROM user AS user
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid=user.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid=user.userid)

LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)


WHERE 1=1
AND user.usergroupid IN (-1,6,7,2,5)
ORDER BY user.username asc
LIMIT 0, 30

mysql error: Unknown table 'journals' in field list



Here is my code for that query

users = $DB_site->query("
SELECT user.*,usertextfield.*,userfield.*, user.userid, journals.journal_id, options,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
$repcondition

AN-net
01-22-2005, 12:54 PM
SELECT user.*,usertextfield.*,userfield.*, user.userid, journals.journal_id,

I'm getting an error when trying to access the memberlist.





Here is my code for that query

users = $DB_site->query("
SELECT user.*,usertextfield.*,userfield.*, user.userid, journals.journal_id, options,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
$repcondition
it looks like you did not fully edit the file since the left join is missing

KenakaBatman
01-22-2005, 01:32 PM
Ya, that was it. Don't know how I miised adding it. I made the "//--notes", but forgot to add that to the query.....lmfao

Thanks

Cloudrunner
01-22-2005, 04:47 PM
Just a quick question...what folder do the moods images default to (if I dun put anything in the input box for that , i.e. just the image name)? root or images?

Thanks

CR