Welcome to Geeklog, Anonymous Tuesday, April 23 2024 @ 09:43 pm EDT

Geeklog Forums

Topic URL


Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
How can I find the url for topic? If I need the topic block, what do I do to get it back? I deleted the topic block.
Bla bla bla
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by ShdwRulr: How can I find the url for topic?

The URL is always index.php?topic=topicid

Quote by ShdwRulr:I deleted the topic block.

How did you manage to do that? You can't delete blocks of type "gldefault".

If it's really gone from the database (and not just inactive) you will need to issue the SQL request below:

INSERT INTO gl_blocks (name, type, title, tid, block
order, content, rdfurl, rdfupdated, onleft, phpblockfn, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) VALUES 'section_block', 'gldefault', 'Topics', 'all', 0, '', '', '0000-00-00 00:00:00', 1, '', 1, 2, 3, 3, 2, 2);


bye, Dirk
 Quote

Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
thanks for the help. The second part was more of a hu? Can you clarify that?
Bla bla bla
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Copy and paste everything from INSERT up until the closing semicolon into an SQL entry field in phpMyAdmin, if you have that.

And I still would like to know how you managed to delete the block in the first place.

bye, Dirk
 Quote

All times are EDT. The time is now 09:43 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content