1 (edited by BonzoESC 2005-02-02 16:56)

Topic: Link text overflow.

Note the text and href for each of these automatically-generated links
http://www.bonzoesc.net/asdforums/viewt … 483#p19483

Edit: failed to replicate error here, so I'll explain:  I posted about 30-50 gmail invites in my forums, along with a link to another page at the top.  The text for all the links is the last gmail link, but they all have their normal href.  What's going on, and how do I fix it?

Re: Link text overflow.

Hmm, that's odd. Could you post a link the the topic in question?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Link text overflow.

Rickard wrote:

Hmm, that's odd. Could you post a link the the topic in question?

Here's the post itself:
http://www.bonzoesc.net/asdforums/viewt … 483#p19483

It looks liike all the links after a certain point adopt the text of one particular one, even across posts.

Re: Link text overflow.

I honestly have no idea why that happens. Something else that's very odd about your forums is that you can, as a guest, edit and delete posts made by other guests. That is not the default behaviour. Have you made any mods to the forum?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Link text overflow.

I think I have a multi-user-group mod installed, so I'm going to axe that and update to 1.2.1 to see what develops.

Re: Link text overflow.

It's totally weird - the problem's still there, and I can't figure out how to stop guests from editing.

I did have a pretty confusing and difficult transition from my previous forum software, would that cause it?

Re: Link text overflow.

Have a look at your users table in the database and make sure the user with id = 1 has group_id set to 3.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Link text overflow.

That looks right, and the guest group is, in fact, 3.

Re: Link text overflow.

Add the following code after the inclusion of common.php in viewtopic.php:

if ($pun_user['is_guest'])
    dump($pun_user);

And then tell me what it spits out when you visit the forums as a guest.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Link text overflow.

Array
(
    [id] => 1
    [group_id] => 4
    [membergroupids] => 
    [username] => Guest
    [password] => Guest
    [email]=> Guest
    [title] => 
    [realname] => 
    [url]=> 
    [jabber] => 
    [icq] => 
    [msn] => 
    [aim] => 
    [yahoo] => 
    [location] => 
    [use_avatar] => 0
    [signature] => 
    [disp_topics] => 30
    [disp_posts] => 40
    [email_setting] => 1
    [save_pass] => 1
    [notify_with_post] => 0
    [show_smilies] => 1
    [show_img] => 1
    [show_img_sig] => 1
    [show_avatars] => 1
    [show_sig] => 1
    [timezone] => -5
    [language] => English
    [style] => Oxygen
    [num_posts] => 0
    [last_post] => 
    [registered] => 0
    [registration_ip] => 0.0.0.0
    [last_visit] => 0
    [admin_note] => 
    [activate_string] => 
    [activate_key] => 
    [g_id] => 4
    [g_title] => Members
    [g_user_title] => 
    [g_read_board] => 1
    [g_post_replies] => 1
    [g_post_topics] => 1
    [g_post_polls] => 1
    [g_edit_posts] => 1
    [g_delete_posts] => 1
    [g_delete_topics] => 1
    [g_set_title] => 0
    [g_search] => 1
    [g_search_users] => 1
    [g_edit_subjects_interval] => 300
    [g_post_flood] => 60
    [g_search_flood] => 30
    [logged] => 
    [is_guest] => 1
)

Re: Link text overflow.

As you can see, the group ID is 4, not 3.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Link text overflow.

Oops, I just realized I have multiple installations, and I was looking at the one with the wrong prefix.

Thanks for the help.