vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Allow Your Users to Post Anonymously Without Logging Out (https://vborg.vbsupport.ru/showthread.php?t=78410)

Lionel 04-16-2005 03:44 AM

Greebo. Thanks. Your fix solved the problem, which was happening in any edited post as long as the user had anon permissions, regardless or not the post itself was allowing anon.

Now I just need to test for an editpost in an actual allowed anon forum.

I wish amykhar takes a look at it and confirms that this will not affect anything else.

Lionel 04-16-2005 04:34 AM

Quote:

Originally Posted by Lionel
It would have been nice to be able to use another set of new status icons for forums and subforums like forum_new.gif, forum_old.gif to indicate that forum accepts anonymous posting (anon_new.gif, anon_old.gif)

Amy, I did not realized that you answered.

Which conditional to use? This does not do it.

Quote:

<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum<if condition="$post['postanon']!=0">anon</if>_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><span class="smallfont">$forum[title]</span></a>

Lionel 04-16-2005 05:12 AM

OK. I am able to do with this condition
$forum['postanon']!='0'

Lionel 04-16-2005 05:30 AM

Greebo, the only thing that I can see with your fix, is that after edit, admin can no longer see who did that post. It displays "Anonymous Member" for all edited posts instead of real username for admin. It's a trade off I'd rather have instead of having to rebuild threads constantly, until there is a final fix.

bixente 04-28-2005 03:53 PM

unregistered users can post anonymous thred ? if they are how can i disable it?

amykhar 04-28-2005 04:39 PM

It's a permissions setting.

bixente 04-29-2005 07:47 AM

how can i do that only specific user id's can see who is the writer of the thread? i dont want all the moderators to see who post it (some privacy ;) )

amykhar 04-29-2005 10:28 AM

In the showthread changes, I have it check to see if the person can modeate. Change those checks to look for the person's userid instead.

bixente 04-29-2005 11:21 AM

Quote:

Originally Posted by amykhar
In the showthread changes, I have it check to see if the person can modeate. Change those checks to look for the person's userid instead.

hmm if u can mark me where exactly it will be great cause i'm not that expert in this things :)
thanks u v.much =]

Lionel 05-09-2005 11:26 PM

Please can someone look at editpost.php? I still have problems in some sections with thread getting the name of person who edited a post as the thread owner. I constantly have to rebuild thread info.

kall 05-12-2005 11:22 AM

Quote:

Originally Posted by Lionel
Please can someone look at editpost.php? I still have problems in some sections with thread getting the name of person who edited a post as the thread owner. I constantly have to rebuild thread info.

Dude. Me too.

It's darned annoying. :(

amykhar 05-12-2005 05:23 PM

Sorry gang. I just haven't had the coding time lately. I'm sharing my home computer with the entire family now and every time I stand up to get a drink of water or to check dinner on the stove, a family member dives for the puter. It doesn't make for good coding concentration.

kall 05-14-2005 11:11 AM

What would be the implications of *not* applying the editpost.php modifications, as a temporary fix?

Lionel 05-14-2005 11:41 AM

I guess the anonymous poster will be revealed.

amykhar 05-14-2005 12:37 PM

No. It wouldn't. It would mean the user couldn't edit their posts but a mod could. It would also mean that a post couldn't be changed to or from anonymous after it's made.

Lionel 05-14-2005 05:36 PM

Amy you're the one. Please give it the 5 minutes and take a look at that annoying problem for us.

kall 05-14-2005 09:35 PM

Quote:

Originally Posted by amykhar
No. It wouldn't. It would mean the user couldn't edit their posts but a mod could. It would also mean that a post couldn't be changed to or from anonymous after it's made.

The anonymous user couldn't edit their posts...but normal posts could still be edited?

While it *does* take away a little of the functionality, the alternative (having the first post of a thread take the username of anyone who has edited their posts in it) is worse.

I don't even know if it happens every time...but it does happen.

Allan 05-20-2005 04:38 AM

Is the problem of edition always of current events ?

Osterling 05-20-2005 11:12 PM

i use vb 3.0.7 and when i installed the hack it, when i went to post it didn't come up with that option and yes, i did the template change.. any ideas?

amykhar 05-20-2005 11:14 PM

If you installed as instructed, you should be able to tell me what step you are on. There is testing involved at each level of installation to help narrow down any installation issues.

Osterling 05-21-2005 11:57 PM

Quote:

Originally Posted by amykhar
If you installed as instructed, you should be able to tell me what step you are on. There is testing involved at each level of installation to help narrow down any installation issues.


s. TEST. Log in as a user that should be able to post anonymously. Start a new thread. Does the checkbox show that asks you if you want to post anonymously? If not, make sure you did step o

amykhar 05-22-2005 03:51 AM

Quote:

Originally Posted by exasko
s. TEST. Log in as a user that should be able to post anonymously. Start a new thread. Does the checkbox show that asks you if you want to post anonymously? If not, make sure you did step o

Double check your step N. That can also cause what you are seeing.

Osterling 05-22-2005 02:51 PM

I made sure I did that change and it still does not appear for me.

Also note, I didn't go past 7. This section allows users to post a new anonymous reply. because I didn't want members to be able to post replies anonymously so I figured I didn't need to do that part. But still it said at that check point that I should be able to post anonymously so hmmm...

I don't know why it won't work

amykhar 05-22-2005 04:15 PM

Just for giggles, do step seven, part f.

Osterling 05-22-2005 04:20 PM

did it, and it didn't help..

amykhar 05-22-2005 06:03 PM

Are you sure all the permissions are set correctly? That has been most people's problem.

Osterling 05-22-2005 08:56 PM

my forum is set up to allow the anonymous post, and so is my usergroup...

let me know if you want to see it hands on and i send you the info via pm.

amykhar 05-23-2005 04:16 PM

Yes. Send me the info via PM.

kylek 05-31-2005 06:54 AM

Help, anyone?

I have gotten to the end of step six, ( all checks and tests have been fine) and am now getting this database error, cant even access the forum index. Anyway of correcting this?

Database error in vBulletin 3.0.7:

Invalid SQL:
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount,postanon,anonname
FROM vb3_forum AS forum

mysql error: Unknown column 'postanon' in 'field list'

mysql error number: 1054

- Panic attack is over, went over everything and must of missed a query as now everything is good. on to step 7..

amykhar 05-31-2005 01:00 PM

Looks like you didn't run the queries. Run those, or those that you missed, and you should be fine.

momlwt 07-02-2005 08:53 PM

I am installing your Anonymous hack and ran into some problems with testing step 6.

I have double checked everything but no matter what I do the check box to choose to post anonymously is not showing up.

Any assistance would be greatly appriciated. I pm'd you in April with no reply so kind of gave up but now the issue why we wanted the hack in the first place is back so I could really use some help.

Kim
http://www.parent-2-parent.org

voclain 07-10-2005 10:21 PM

Quote:

Originally Posted by momlwt
I am installing your Anonymous hack and ran into some problems with testing step 6.

I have double checked everything but no matter what I do the check box to choose to post anonymously is not showing up.

Any assistance would be greatly appriciated. I pm'd you in April with no reply so kind of gave up but now the issue why we wanted the hack in the first place is back so I could really use some help.

Kim
http://www.parent-2-parent.org

I have the same problem?

UP to this point I have had ZERO problems...all has been WONDERFUL! (SUPER job on writing the TXT file!! AMAZING!!!)....

I get no error messages....all appears to be normal...but NO CHECK BOX!

I'm 2 hours into this hack...and I sure do need it (IF POSSIBLE) before tomorrow.

YOU assistance would be geatly appreciated.

I'm now back off to read through this thread again to see if I missed something.

Thanks.

Kirk

voclain 07-10-2005 10:26 PM

OH...I have another questions....ON STEP 6. Letter "i"....

The instructions are to:

Find: ..... Replace with: (.........change to use the proper userid and user name.)

I see in the text where to put "PUT USERID HERE"...but I've read it 4 times...I don't see where to put "USER NAME".

Am I just missing it??? Could this be why IT'S not working????

Kirk

voclain 07-10-2005 10:28 PM

OH...I just had another thought......

I skipped step 3 because I do not have a need for that....could this be causing the problem????? as to why in step 6 I cannot get the check box to show up????

THANKS AGAIN for this hack....WONDERFULLY WRITTEN!!!! Amazing....I wish I had your brain!

Kirk

amykhar 07-10-2005 11:04 PM

Quote:

Originally Posted by voclain
OH...I just had another thought......

I skipped step 3 because I do not have a need for that....could this be causing the problem????? as to why in step 6 I cannot get the check box to show up????

THANKS AGAIN for this hack....WONDERFULLY WRITTEN!!!! Amazing....I wish I had your brain!

Kirk

I'll look at the code again in a few minutes. I may have messed up the text file when fixing something else. I'm going to be porting it to 3.5 this evening (I hope) and that will make me look at this in fine detail.

Amy

voclain 07-10-2005 11:23 PM

THANK YOU SO MUCH!!!

I will say that first...I am NO CODER.....I can copy and paste...but for me to say what I'm doing??? I HAVE NO IDEA!!!!!

With that said...this is the ONLY thing I have found that is a bit ODD:

Step 6 Letter "i" ONE of the last bits of code you tell me to find is:

Quote:

'" . addslashes($post['ipaddress']) . "', $post[iconid], $post[visible], $totalattachments") .
"')");
However...in my "functions_newpost" it looks like this:

Quote:

'" . addslashes($post['ipaddress']) . "', $post[iconid], $post[visible], $totalattachments)
");
I don't know if that is causing the problem or not???? But I figured IT was the only difference I have found.

LET ME KNOW!

And thanks again for this.....IF you have a DONATION policy....please PM it to me so I can contribute!

Yours,

Kirk

amykhar 07-10-2005 11:26 PM

I just looked at step 3. Yes, it would most definitely make the checkbox not show if you don't do that step, but you have the code in later to see if it's on or not.

The code you just posted shouldn't make a difference :)

voclain 07-10-2005 11:30 PM

Quote:

Originally Posted by amykhar
I just looked at step 3. Yes, it would most definitely make the checkbox not show if you don't do that step, but you have the code in later to see if it's on or not.

The code you just posted shouldn't make a difference :)

Wait??? I'm a bit confused???? Are you saying I should just continue onto step 7 and this will fix itself????

LET ME KNOW....THANKS AGAIN...

Kirk

amykhar 07-10-2005 11:32 PM

Quote:

Originally Posted by voclain
Wait??? I'm a bit confused???? Are you saying I should just continue onto step 7 and this will fix itself????

LET ME KNOW....THANKS AGAIN...

Kirk

No. I'm saying go back and do step 3. It won't hurt anything to do it and turn the setting on. :) It's not a code change, and won't take you but a minute.

voclain 07-11-2005 12:00 AM

Quote:

Originally Posted by amykhar
No. I'm saying go back and do step 3. It won't hurt anything to do it and turn the setting on. :) It's not a code change, and won't take you but a minute.

Thank you...I did just that.....and figured....as you say....JUST FOR GIGGLES :D...to do it....and it's done....And still no check box???

I have another question at this point....I've been checking steps as I go along...

When I run:
UPDATE userfield set field6='yes';

IT says OK...done....but when I search a user, neither YES nor NO is checked.

Could this be the problem???

Kirk

PS: I really do feel I owe you something for this...PLEASE DO PM ME!


All times are GMT. The time now is 09:19 PM.

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.02549 seconds
  • Memory Usage 1,828KB
  • 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
  • (14)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