The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Request: Journal
The site I run has a rather creative user base. They love to express themselves in signatures that are often 50+ lines.
Obviously this isnt' necessary, but I also don't want to deprive them of this means of communication. So, my thought is that if it was possible to have a "Journal" which users could put those 50-100 lines in, then I could tighten the signatures down to a respectable 4-10 lines. What would the journal be? Well, probably it's own PHP file, realistically, which would probably look a whole lot like a single post (in terms of layout). You wouldn't be able to reply to it or anything, but you would have links to pm, profile, homepage, etc, much like a single post. Am I making half sense here? |
#2
|
||||
|
||||
Hmm, the journal can only be Seen in the userprofile, or do you want to have all journals on one site?
|
#3
|
|||
|
|||
The Journal would be a link I would put on every person's post so they could see each other's journals. It's like a way of sharing your creativity (writing, wanderings, whatever) with your community mates
|
#4
|
|||
|
|||
So, I guess as far as editing your journal, you would probably do it in the same place as our signature because it's really an extension of that.
When viewing someone else's you would simply click their link on the side of their post or in their profile... I really hope I'm making sense |
#5
|
||||
|
||||
Its not so hard to make, but you have to edit a few files...
first you should add a field to your user-table called journal, same options than signature. then edit the file member.php find PHP Code:
PHP Code:
PHP Code:
PHP Code:
find Code:
<tr> <td bgcolor="#DFDFDF" valign="top"><b><normalfont>Signature:</normalfont></b><br> <smallfont>Optional signature you may use to appear at bottom of your posts.</smallfont> <p><smallfont>HTML code is $htmlonoff<br> <a href="misc.php?s=$session[sessionhash]&action=bbcode">vB Code</A> is $bbcodeonoff<br> [img] code is $imgcodeonoff<br> <a href="misc.php?s=$session[sessionhash]&action=showsmilies">Smilies</a> are $smiliesonoff </smallfont></p></td> <td bgcolor="#DFDFDF"><textarea name="signature" rows="6" cols="40">$bbuserinfo[signature]</textarea></td> </tr> Code:
<tr> <td bgcolor="#DFDFDF" valign="top"><b><normalfont>Journal:</normalfont></b><br> <smallfont>Optional journal you may use to appear at bottom of your posts.</smallfont> <p><smallfont>HTML code is $htmlonoff<br> <a href="misc.php?s=$session[sessionhash]&action=bbcode">vB Code</A> is $bbcodeonoff<br> [img] code is $imgcodeonoff<br> <a href="misc.php?s=$session[sessionhash]&action=showsmilies">Smilies</a> are $smiliesonoff </smallfont></p></td> <td bgcolor="#DFDFDF"><textarea name="journal" rows="6" cols="40">$bbuserinfo[journal]</textarea></td> </tr> content: see some posts below. Add a Link wher you want to show the journal like this (postbit version): <a href="journal.php?userid=$post[userid]">Journal</a> Its not optimated code, but it should work |
#6
|
|||
|
|||
That's great. Only quesiton is how do I do this? "first you should add a field to your user-table called journal, same options than signature. "
|
#7
|
||||
|
||||
i'd say you should use phpmyadmin
|
#8
|
|||
|
|||
Yeah, if RackShack hadn't messed it up I might. One of the reasons I'm moving to a new server
Ah well, I guess I'll leave this here until then |
#9
|
||||
|
||||
you can install phpmyadmin on your own, just download make the right options and upload ^^
|
#10
|
|||
|
|||
Hmm, install another copy in another area, eh? Why not, I'll do that tomorrow
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|