I am currently on a quest trying to make a skin as minimal as possible.
There is a second jump menu on the viewstory page that includes "Add Fic to Favs" "Add author to Favs" and "Submit a review".
<div class="jumpmenu2">{jumpmenu2}</div>
It does not however, include "Report This" and it probbaly won't include any module extras such as "Track this fic".
How do I mod the script to include those on the jump menu?
Edit: I think I found it in Viewstory.php
line 311
$tpl->assign("reportthis", "[<a href="""._BASEDIR."contact.php?action=report&url=viewstory.php?chapid=$chapid">"._REPORTTHIS."</a>"]");
line 302
$jumpmenu2 = "<option value="user.php?action=favst&add=1&sid=$sid">"._ADDSTORY2FAVES."</option><option value="user.php?action=favau&add=1&author=".$stories['uid']."">"._ADDAUTHOR2FAVES."</option>";
I'm going to try adding this in: (are you horrified yet?)
$jumpmenu2 = "<option value=""._BASEDIR."contact.php?action=report&url=viewstory.php?chapid=$chapid">"._REPORTTHIS."</option><option value="contact.php?action=report&url=viewstory.php?chapid=$chapid">"._REPORTTHIS."</option>";
Edit 2: Okay that just replaced the Add to Fav and whatever else to "report this" on the jump menu... The option worked though so I know i'm doing something right...
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
Add:
<option value=""._BASEDIR."contact.php?action=report&url=viewstory.php?chapid=$chapid">"._REPORTTHIS."</option>
to that line instead of replacing the first option.
And yes, I need to rework that a bit so new options can be added to that drop list. It's on the "To Do" list.
Now my line 302 on viewstory.php reads:
$jumpmenu2 = "<option value="user.php?action=favst&add=1&sid=$sid">"._ADDSTORY2FAVES."</option><option value="user.php?action=favau&add=1&author=".$stories['uid']."">"._ADDAUTHOR2FAVES."</option><option value=""._BASEDIR."contact.php?action=report&url=viewstory.php?chapid=$chapid">"._REPORTTHIS."</option>";
And it works perfectly! Thank you Tammy! π
Now to get the review to open in a new window....
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
This is now standard in 3.1