Welcome to Geeklog, Anonymous Saturday, September 07 2024 @ 09:10 pm EDT
Geeklog Forums
Get Published hack
Status: offline
ronack
Forum User
Full Member
Registered: 05/27/03
Posts: 612
We all know of the default topic option. Does anyone have a hack to specify different topics for submission. For instance if I am in the Topic "Documentation" and I click Get Published it would automatically put Documentation in the Topic field. I don't know how many times I end up with a post in the wrong topic, usually the default.
6
5
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
No need for a hack - Geeklog already does that.
If your theme uses the {menu_elements} variable, it should already work. If it doesn't use that variable, you will need to make sure the link to the submission form reads
bye, Dirk
If your theme uses the {menu_elements} variable, it should already work. If it doesn't use that variable, you will need to make sure the link to the submission form reads
Text Formatted Code
<a href="{site_url}/submit.php?type=story{current_topic}">bye, Dirk
8
4
Quote
Status: offline
ronack
Forum User
Full Member
Registered: 05/27/03
Posts: 612
In doing a little analysis I find this. My link for Get Published looks like this.
http://mysite....com/submit.php?type=story&topic=suggest
Suggest being the topic that I am in. When I click on it it goes to that link then a second later goes to this.
http://mysite....com/1admin/story.php?mode=edit
The topic field shows the default topic "Community News" instead of the topic "Suggest".
http://mysite....com/submit.php?type=story&topic=suggest
Suggest being the topic that I am in. When I click on it it goes to that link then a second later goes to this.
http://mysite....com/1admin/story.php?mode=edit
The topic field shows the default topic "Community News" instead of the topic "Suggest".
11
10
Quote
All times are EDT. The time is now 09:10 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