vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Profile Tagboard (a tagboard in every user's profiles) (https://vborg.vbsupport.ru/showthread.php?t=51705)

The_Wanderer 04-20-2003 01:52 PM

Quote:

Today at 02:41 PM Tenpit said this in Post #40
How can it be changed so that Admins can 'Edit' or 'Delete' any message?


Thanks

-----------
Tenpit


heh... you know, i was thinking about coding that feature for the next version...
you read my mind :P

bgtking 04-20-2003 02:09 PM

Where exactly do you download 1.1? The main page jsut has v1.

The_Wanderer 04-20-2003 02:35 PM

https://vborg.vbsupport.ru/attachmen...&postid=383096

it's the file i attached in my first post.. i updated it, when i updated the hack ;)

and remember to click Install, if you install ^^

bgtking 04-20-2003 02:49 PM

You say there should be six new templates but in the zip I download, there are only 3.

The_Wanderer 04-20-2003 02:55 PM

that's odd.. when i download it, there's 9...
try re-downloading, I think you still have the old zip from v1...

bgtking 04-20-2003 03:16 PM

I cleared my temporary internet files and it worked. Great hack. Will install now.

The_Wanderer 04-20-2003 04:34 PM

yeah, i thought it might have had something to do with that... enjoy :)

filburt1 04-20-2003 04:51 PM

Quote:

04-16-03 at 05:37 PM The_Wanderer said this in Post #1
[B]hmm.. I dont think this has been released before.. or at least i couldn't find it.
It has...my user comments hack.

The_Wanderer 04-20-2003 06:30 PM

Quote:

Today at 05:51 PM filburt1 said this in Post #48
It has...my user comments hack.
yeah i kinda noticed by now ;)

i think this is slightly different from yours... I hope you don't mind me releasing it though :)

Aaron Freed 04-20-2003 11:38 PM

I just thought that I'd point out I managed to get vBcode and smileys to work by changing the line

PHP Code:

$msg=nl2br("$msg"); 

to

PHP Code:

$msg=bbcodeparse($msg,0,1); 

Anyway, this is great stuff; I've already installed it on my boards and people are having lots of fun with it <33333

The_Wanderer 04-21-2003 12:43 AM

tsk tsk.. you can't just go ahead and do stuff i had planned to do for the next version... :cheeky:
oh well.. thanks :)

here's an update on some of the stuff i'll be adding in upcoming versions:

Admins can edit/delete messages in all tagboards
Date stamp
Email notification system
vB code - heh, this is done now though :)

kaotic 04-21-2003 01:13 AM

LoL. Thanks, Aaron. Now I can go ahead and make the change instead of having to wait for the next version. :p Btw, wanderer, this is a great hack you've got here. My members are making great use of it so far. :D Thanks again. Later.

Red Blaze 04-21-2003 04:27 AM

Yay this works great now. XD Thanks alot. :)

kaotic 04-21-2003 05:53 AM

Well my members now have the luxery of editing the comments within their profile... but that leaves sort of a problem. :p Now they can alter others' words as they please, without anybody really knowing about it. Would it be possible to add a "Edited by:" feature to the bottom of each edited comment?

The_Wanderer 04-21-2003 10:37 AM

they shouldn't be able to edit other peoples comments.. unless you've changed that yourself?

i could fix that though :)

kaotic 04-21-2003 03:24 PM

Odd, someone reported that one of the other members edited their comment. I guess I should test things out myself before I come here for support. My bad.

The_Wanderer 04-21-2003 11:03 PM

I've finished v1.2...

this may seem as a pretty small update but it's actually a rather important one.. just take a look at the pictures in my next 2 posts.

v1.2 features bbcode+smilies or whatever ir's called :P and FEWER queries.
I advice everyone who installed v1 or v1.1 to upgrade to v1.2 ASAP

you can find the updgrade file in the zip attached in my first post

enjoy :)

The_Wanderer 04-21-2003 11:05 PM

This is before v1.2

i only had around 20 comments from around 10-15 different people!

The_Wanderer 04-21-2003 11:05 PM

This is after i installed v1.2

ahhh...much better :D

kaotic 04-21-2003 11:10 PM

Wow, I didn't realize that. Thanks for the update.. I'll install it now.

The_Wanderer 04-21-2003 11:14 PM

neither did I.. or not untill last night before I went to bed at least...

well it's fixed now.. should work great :)

Red Blaze 04-22-2003 04:14 AM

I upgraded it and well, there were no errors, but I did get bugs... all the comments were gone. I was smart enough to back up the file and when I uploaded the backed up file, the comments were restored. I had v1.1 and wanted to go to v1.2. In v1.2 all the comments were gone. Need any more details?

The_Wanderer 04-22-2003 10:15 AM

hmm... i'll try re-installing v1.2 using the instructions i wrote... maybe i forgot something (again xD)

EDIT: it worked fine here... are you sure you installed it right? did you change anything in the templates? are you sure you replaced the right codes? there's a //show all messages and a //show messages...

maybe you mixed those two up..and in that case, it wouldn't work...

Red Blaze 04-22-2003 02:19 PM

Hm.. I did use the v1.1tov1.2.txt file, it didn't say anything to change in the templates, and I'm sure I put them in the right areas... perhaps my computer went hay wire somewhere, I'll try it again as soon as I get home.

The_Wanderer 04-22-2003 02:37 PM

You don't need to edit the templates to upgrade.. i was just thinking that maybe you edited it and that's why it wouldn't work...
it's more likely that you mixed the "//show all messages" and "//show messages" codes up ;)

sonic3d 04-22-2003 09:44 PM

i can't post nething. i write something and sent it but when it comes back up, theres nothing. i checked everything three time. i executed the query, added the 9 templates, edited one template and edited on php file.

ne reason why it wont work?

l8er
sonic

Red Blaze 04-22-2003 11:25 PM

did it again and got the same result... and it looks like I'm not the only one. =/

kaotic 04-23-2003 12:16 AM

Well it seems to work with me, but I've been using this hack since the first release. If you plan on uninstalling and reinstalling it again, I suggest that you start with v1, then upgrade to v1.1, and then on to v1.2. That's how I did it, and it works fine with my forums.

sonic3d 04-23-2003 01:14 AM

is it only for 2.3.0? i doubt it.

l8er
sonic

Red Blaze 04-23-2003 04:04 AM

I'm using 2.2.9 and it works up to v1.1. =/

The_Wanderer 04-23-2003 12:26 PM

I use it on 2.2.9... works fine...

I just tried re-installing the hack using the Install v1.2.txt in the zip.. everything works fine!
so it's obviously you who did something wrong during the installation procedure...

make sure the names of the templates are correct..
uhm.. try posting your getinfo template, sonic3d...
and make sure you ran the SQL query right... obviously it wouldn't work if the "profiletagboard" table wasn't created in your database ;)

you can also try emailing/attaching your member.php file.. (applies to both of you)

Red Blaze 04-23-2003 04:28 PM

Dude, I'm way past sorry, this might sound annoying, but I did it again and I got the same result. And when I uploaded the backed up file again, the testing post did show up.

Look, this is what I did.
I edited the PHP file and all it said was
"There are no comments...etc etc.."
I tested it see saying "hello?" and nothing showed up. It just refreshed the page. I did it twice. Then I uploaded the backed up php file (member.php edited from v1.1) and the two "hello?" posts were there. The info did get sent, but it's just not showing up. I'm sorry, I did everything you said. >.<

I'll attach the member.php file so you can do it yourself. Maybe this hack likes you better. >_>;

EDIT: Forgot to attach the damn thing. ^^;;;

DOUBLE EDIT: I don't like making another post when my post is still the last one. ^^;

I just realized, wouldn't it be good to have the $tbuser name link to his/her comment tagboard? Also, you can make another template that can be like the "New Reply" feature with the clickable smilies. Uum... that's about it. ^^;

The_Wanderer 04-23-2003 05:36 PM

clickable smilies.. perhaps i could do that...
and i was planning to make the $tbusername link to the other users' profiles in the next version :D

i'll take a look at your member.php..

EDIT: try this... it should work... if there's a problem, it's probably template based or bitsys rpg hack interferes with the tagboard hack... although i find that very unlikely..

Red Blaze 04-23-2003 07:01 PM

It's not working. :(
I uploaded your attached php file, and it gave me the same result. I'm guessing that it could be the RPG hack since sonic3d has that hack also... I think... ^^;

The_Wanderer 04-23-2003 07:37 PM

hmmm.. perhaps... although that doesn't make much sense... i'll take a look at the rpg hack code...

in the meanwhile you can post your getinfo template :)
also try to put this in your getinfo_profiletagboard_nomsgs template: Msgs in tagboard: $nummsgs
and tell me what happens... it should say "no messages blah blah blah" and a number on the end (or beginning or wherever you put $nummsgs...)
oh yeah and you have to put it near the text :)

do you have msn, icq or aim?

EDIT: also try putting this in the template:
userid: $userinfo[userid]


Red Blaze 04-23-2003 08:43 PM

Well, here's what I got.
For the $nummes, I got the correct number of messages. So that works fine. :)
But as for userid.... they are all "1". o.o;

About v1.2, was it only suppose to lower the number of queries? I only get 20 some.

Yes, I have MSN, AIM and Yahoo, I'll PM you.

The_Wanderer 04-23-2003 08:54 PM

yeah that's the only new thing in v1.2... but the problem with earlier versions was that you got around 2-3 queries for each message.. so when you click "view all messages" and have like 30 messages.. i had 23 messages and i got 55 queries...
it'd be pretty messy when you get a lot of messages ;)

EDIT: I dunno if it works... but try adding this to the template as well: $userid

Kurayami 04-25-2003 08:49 PM

A question before installing--is it possible to place this on another page, rather than on the profile? :)

kaotic 04-25-2003 09:12 PM

Profile Tagboard (a tagboard in every user's profiles)

I don't believe this is the hack for you. :p

Koutaru 04-25-2003 09:20 PM

Does this hack store all tags or just up to 10 and then it starts deleting the old ones once a new one is posted?


All times are GMT. The time now is 04:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01280 seconds
  • Memory Usage 1,820KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete